Skip to content

Commit

Permalink
Chore: update mobile font size
Browse files Browse the repository at this point in the history
  • Loading branch information
avivash committed Mar 27, 2024
1 parent e2e1b81 commit a7ddacf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pre[class*="language-"] {
color: #ccc;
background: 0 0;
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
@apply text-body-2xs sm:text-body-xs !important;
@apply text-body-3xs sm:text-body-xs !important;
text-align: left;
white-space: pre;
word-spacing: normal;
Expand Down Expand Up @@ -334,7 +334,7 @@ pre[class*="language-"] {

.kg-code-card,
.language-sh {
@apply text-body-2xs sm:text-body-xs !important;
@apply text-body-3xs sm:text-body-xs !important;
}

/**
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ module.exports = {
"body-sm": [".889rem", { lineHeight: "130%" }],
"body-xs": ["0.79rem", { lineHeight: "130%" }],
"body-2xs": ["0.702rem", { lineHeight: "130%" }],
"body-3xs": ["0.602rem", { lineHeight: "130%" }],
"button-xl": ["1.25rem", { lineHeight: "100%" }],
"button-lg": ["1.1rem", { lineHeight: "100%" }],
"button-base": ["1rem", { lineHeight: "100%" }],
Expand Down

0 comments on commit a7ddacf

Please sign in to comment.