Skip to content

Commit

Permalink
Tweak caption styles (#2757)
Browse files Browse the repository at this point in the history
  • Loading branch information
wereHamster committed Jun 6, 2024
1 parent 3e59c54 commit 3b5436e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/timvir/blocks/Code/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,6 @@ const classes = {
font-size: 0.8125rem;
line-height: 1.1875;
color: var(--timvir-secondary-text-color);
margin-top: 2px;
margin-top: 0.3em;
`,
};
2 changes: 1 addition & 1 deletion pkg/timvir/blocks/Exhibit/Exhibit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ const classes = {
font-size: 0.8125rem;
line-height: 1.1875;
color: var(--timvir-secondary-text-color);
margin-top: 2px;
margin-top: 0.3em;
`,
};
1 change: 1 addition & 0 deletions pkg/timvir/blocks/Viewport/Viewport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function Viewport(props: Props, ref: React.ForwardedRef<React.ElementRef<typeof
fullWidth,
css`
contain: layout;
margin-bottom: 0;
`
)}
>
Expand Down
3 changes: 2 additions & 1 deletion pkg/timvir/blocks/Viewport/internal/Caption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ function Caption(props: Props) {
<>
<figcaption
className={css`
font-size: 0.75rem;
font-size: 0.8125rem;
line-height: 1.1875;
color: var(--timvir-secondary-text-color);
white-space: nowrap;
Expand Down

0 comments on commit 3b5436e

Please sign in to comment.