Add CSS variable --close-button-visibility
This commit is contained in:
parent
3746aab271
commit
d8ca6b74d5
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
--button-cursor: pointer;
|
||||
--badge-background: #383a3e;
|
||||
--badge-color: #fff;
|
||||
--close-button-visibility: visible;
|
||||
}
|
||||
|
||||
/* STYLES */
|
||||
|
@ -161,6 +162,11 @@ webview.visible {
|
|||
height: 20px;
|
||||
text-align: center;
|
||||
padding: 1px 0 0 0;
|
||||
visibility: var(--close-button-visibility);
|
||||
}
|
||||
|
||||
.tab.active .tab-close button {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.tab-close button:hover {
|
||||
|
|
Loading…
Reference in a new issue