mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
web/Switcher: reduce padding
This commit is contained in:
parent
78a4c9adbf
commit
ceee059ecf
@ -75,7 +75,7 @@
|
||||
.switcher.big :global(.button) {
|
||||
width: 100%;
|
||||
/* [base button height] - ([switcher padding] * [padding factor to accommodate for]) */
|
||||
height: calc(40px - var(--switcher-padding) * 1.5);
|
||||
height: calc(40px - var(--switcher-padding) * 2);
|
||||
border-radius: calc(var(--border-radius) - var(--switcher-padding));;
|
||||
}
|
||||
|
||||
@ -93,6 +93,6 @@
|
||||
|
||||
/* hack to get rid of double border in a list of switches */
|
||||
.switcher:not(.big) :global(:not(.button:first-child)) {
|
||||
margin-left: -1.5px;
|
||||
margin-left: -1px;
|
||||
}
|
||||
</style>
|
||||
|
@ -177,7 +177,7 @@
|
||||
--safe-area-inset-top: env(safe-area-inset-top);
|
||||
--safe-area-inset-bottom: env(safe-area-inset-bottom);
|
||||
|
||||
--switcher-padding: 4px;
|
||||
--switcher-padding: 3.5px;
|
||||
|
||||
/* used for fading the tab bar on scroll */
|
||||
--sidebar-mobile-gradient: linear-gradient(
|
||||
|
Loading…
x
Reference in New Issue
Block a user