mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-27 05:28:49 +01:00
web/Switcher: reduce padding
This commit is contained in:
parent
78a4c9adbf
commit
ceee059ecf
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue