Closed azhongzl closed 6 months ago
You need to do more:
/* Change tab height */
tab-item {
--tab-size: 18px !important;
}
tab-item tab-item-substance {
max-height: var(--tab-size) !important;
min-height: var(--tab-size) !important; /* added */
padding-top: 0 !important; /* added */
padding-bottom: 0 !important; /* added */
}
/* This makes the hovered tab noticeable by modifying the color and font */
tab-item tab-item-substance:hover {
background: #aaaaaa !important;
opacity: 1;
}
Thanks, should we update the wiki so that other guys know this as well?
It is a public wiki so it is OK to update if you needed!
Sounds great, I can update it. But I am not sure if this also works for the old version, e.g. v3.9.22?
Just tested, also works for v3.9.22, will update the wiki!
Abstract
When using the Photon profile at small tab heights, one tab overlaps on each other.
Steps to reproduce
/ This makes the hovered tab noticeable by modifying the color and font / tab-item tab-item-substance:hover { background: #aaaaaa !important; opacity: 1; }