Skip to content

Commit

Permalink
style: add media-query to resize font-size on high dpi screens
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Sep 22, 2024
1 parent 6ec4827 commit fd5e2b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions styles/tool-bar.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

&:before {
display: inline;

// Adjust font-size on high DPI ("Retina") screens
@media only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
font-size: 200%;
}
}
&:focus,
&:hover {
Expand Down

0 comments on commit fd5e2b5

Please sign in to comment.