Skip to content

Commit

Permalink
fix: rem font size leaking into in-context dialog (#3203)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored May 24, 2023
1 parent 8f1a59f commit 6fe340e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const ScreenshotGallery: React.FC = () => {
}}
>
<IconButton
sx={{ fontSize: 24 }}
onClick={
ableToTakeScreenshot
? handleTakeScreenshot
Expand All @@ -163,7 +164,7 @@ export const ScreenshotGallery: React.FC = () => {
style: { zIndex: DEVTOOLS_Z_INDEX },
}}
>
<IconButton onClick={onFileSelect}>
<IconButton sx={{ fontSize: 24 }} onClick={onFileSelect}>
<AddCircleOutline />
</IconButton>
</Tooltip>
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/ui/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ let theme = createTheme({
typography: {
fontFamily:
'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
htmlFontSize: 0,
},
palette: {
primary: {
Expand Down

0 comments on commit 6fe340e

Please sign in to comment.