Skip to content

Commit

Permalink
Use the font configured in the browser instead of the browser's syste…
Browse files Browse the repository at this point in the history
…m font.

Fixes #9864.
  • Loading branch information
fniessink committed Jan 28, 2025
1 parent c796d41 commit 2bd2c7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
15 changes: 2 additions & 13 deletions components/frontend/src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const theme1 = createTheme({
components: {
MuiTooltip: {
defaultProps: { arrow: true },
styleOverrides: { tooltip: { fontSize: "0.9em" } },
styleOverrides: { tooltip: { fontSize: "0.9rem" } },
},
MuiTextField: {
defaultProps: { variant: "filled" },
Expand All @@ -25,18 +25,7 @@ const theme1 = createTheme({
},
},
typography: {
fontFamily: [
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
].join(","), // Use system font
fontFamily: "sans-serif", // Use browser font
},
})

Expand Down
6 changes: 6 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ If your currently installed *Quality-time* version is not the latest version, pl

<!-- The line "## <square-bracket>Unreleased</square-bracket>" is replaced by the release/release.py script with the new release version and release date. -->

## [Unreleased]

### Changed

- Use the font configured in the browser instead of the browser's system font. Fixes [#9864](https://github.com/ICTU/quality-time/issues/9864).

## v5.23.0 - 2025-01-27

### Fixed
Expand Down

0 comments on commit 2bd2c7e

Please sign in to comment.