Skip to content

Commit

Permalink
Fixed the font size for smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
manjilasingh committed Jan 3, 2025
1 parent 75069c4 commit e48f62e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
@media (max-width: 1400px) {
:root {
/* Adjust the base font size to 90% of the original */
font-size: 90%;
font-size: 85% !important;

/* Adjust other root variables */
--ifm-font-size-base: 90%;
--ifm-code-font-size: 90%;
--ifm-font-size-base: 90% !important;
--ifm-code-font-size: 90% !important;

/* Adjust sidebar widths */
--doc-sidebar-width: 240px !important; /* 240px * 0.9 */
Expand Down

0 comments on commit e48f62e

Please sign in to comment.