mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00:00
web/SidebarTab: make the icon bigger and gap smaller
This commit is contained in:
parent
c9c1e5d298
commit
d9f1134f7f
|
@ -54,8 +54,8 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
gap: 5px;
|
gap: 3px;
|
||||||
padding: var(--padding) 5px;
|
padding: var(--padding) 3px;
|
||||||
color: var(--sidebar-highlight);
|
color: var(--sidebar-highlight);
|
||||||
font-size: var(--sidebar-font-size);
|
font-size: var(--sidebar-font-size);
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
|
@ -73,8 +73,8 @@
|
||||||
|
|
||||||
.sidebar-tab :global(svg) {
|
.sidebar-tab :global(svg) {
|
||||||
stroke-width: 1.2px;
|
stroke-width: 1.2px;
|
||||||
height: 21px;
|
height: 22px;
|
||||||
width: 21px;
|
width: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global([data-iphone="true"] .sidebar-tab svg) {
|
:global([data-iphone="true"] .sidebar-tab svg) {
|
||||||
|
@ -132,15 +132,9 @@
|
||||||
@media screen and (max-width: 535px) {
|
@media screen and (max-width: 535px) {
|
||||||
.sidebar-tab {
|
.sidebar-tab {
|
||||||
padding: 5px var(--padding);
|
padding: 5px var(--padding);
|
||||||
gap: 3px;
|
|
||||||
min-width: calc(var(--sidebar-width) / 2);
|
min-width: calc(var(--sidebar-width) / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-tab :global(svg) {
|
|
||||||
height: 22px;
|
|
||||||
width: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-tab.active {
|
.sidebar-tab.active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue