More style fixes

This commit is contained in:
Lim Chee Aun 2023-02-28 08:38:46 +08:00
parent 57200b382f
commit 067486e4df

View file

@ -75,6 +75,7 @@
padding: 0; padding: 0;
list-style: none; list-style: none;
display: flex; display: flex;
justify-content: center;
} }
#shortcuts .tab-bar li a { #shortcuts .tab-bar li a {
display: block; display: block;
@ -119,7 +120,7 @@ shortcuts .tab-bar[hidden] {
user-select: none; user-select: none;
} }
@media (min-width: calc(40em)) { @media (min-width: 40em) {
#app:has(#shortcuts .tab-bar) .timeline-deck { #app:has(#shortcuts .tab-bar) .timeline-deck {
margin-top: 44px; margin-top: 44px;
} }
@ -136,8 +137,13 @@ shortcuts .tab-bar[hidden] {
box-shadow: none; box-shadow: none;
border-bottom: var(--hairline-width) solid var(--bg-faded-color); border-bottom: var(--hairline-width) solid var(--bg-faded-color);
} }
#shortcuts .tab-bar ul { #shortcuts .tab-bar ul:before {
justify-content: center; content: '';
margin: auto;
}
#shortcuts .tab-bar ul:after {
content: '';
margin: auto;
} }
#shortcuts .tab-bar li { #shortcuts .tab-bar li {
flex-grow: 0; flex-grow: 0;