Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ARTICLE_MAX_WIDTH = 890
const CONTAINER_PADDING = 24
const WIDE_LAYOUT_MIN_IMG_WIDTH = 900

const Container = styled.div(({ theme }) => ({
const Container = styled.figure(({ theme }) => ({
position: "relative",
margin: "2rem auto",
textAlign: "center",
Expand Down Expand Up @@ -148,7 +148,7 @@ const Image = styled.img<{ layout: Layout }>(({ layout }) => ({
},
}))

const Caption = styled.p(({ theme }) => ({
const Caption = styled.figcaption(({ theme }) => ({
"&&&&&": {
...theme.typography.body2,
color: theme.custom.colors.silverGrayDark,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ const StyledNodeViewWrapper = styled(NodeViewWrapper)<{
input {
width: 100%;
border: none;
text-align: center;
text-align: left;
outline: none;
padding: 4px;
padding: 16px 0;
font-size: 14px;
border-bottom: 1px solid #dde1e6;
}
p {
Expand Down
Loading