Slight adjustments to tab bar styles

This commit is contained in:
Lim Chee Aun 2023-10-06 18:13:10 +08:00
parent 5c6e9756d0
commit d6d10d091e

View file

@ -82,6 +82,8 @@
list-style: none;
display: flex;
justify-content: center;
min-width: 20vw;
flex-basis: 20vw;
}
#shortcuts .tab-bar li a {
-webkit-tap-highlight-color: transparent;
@ -95,7 +97,11 @@
padding: 8px;
text-decoration: none;
text-shadow: 0 var(--hairline-width) var(--bg-color);
width: 20vw;
width: 100%;
&:is(:hover, :focus) {
color: var(--text-color);
}
}
#shortcuts .tab-bar li a:active {
transform: scale(0.95);
@ -171,6 +177,8 @@ shortcuts .tab-bar[hidden] {
}
#shortcuts .tab-bar li {
flex-grow: 0;
min-width: auto;
flex-basis: auto;
}
#shortcuts .tab-bar li a {
padding: 0 16px;