Skip to content

Commit 8d52635

Browse files
committed
fix(header): Adjust icon font size and navbar height for better responsiveness.
1 parent 72a37ef commit 8d52635

File tree

1 file changed

+2
-5
lines changed
  • src/jsMain/kotlin/io/github/ayfri/components

1 file changed

+2
-5
lines changed

src/jsMain/kotlin/io/github/ayfri/components/Header.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,12 @@ object HeaderStyle : StyleSheet() {
8181
zIndex(5)
8282

8383
"i" style {
84-
fontSize(navbarHeight.value() * .6)
84+
fontSize(navbarHeight.value() * .5)
8585
}
8686

8787
media(mediaMaxWidth(mobileSecondBreak)) {
8888
self {
8989
padding(0.px, 1.cssRem)
90-
91-
"i" style {
92-
fontSize(navbarHeight.value() * .4)
93-
}
9490
}
9591
}
9692
}
@@ -144,6 +140,7 @@ object HeaderStyle : StyleSheet() {
144140
val navbarGithub by style {
145141
borderRadius(.5.cssRem)
146142
gap(1.cssRem)
143+
height(80.percent)
147144
marginRight(1.vw)
148145
padding(.5.cssRem, 1.cssRem)
149146

0 commit comments

Comments
 (0)