mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-21 14:55:37 +00:00
feat: Dont show 'new folder' if its an essential tab, b=no-bug, c=common, tabs
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
& browser[transparent='true'] {
|
||||
background: light-dark(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
|
||||
background: light-dark(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
|
||||
}
|
||||
|
||||
@media not -moz-pref('layout.css.prefers-color-scheme.content-override', 2) {
|
||||
|
||||
@@ -1019,6 +1019,8 @@
|
||||
.setAttribute('disabled', !this.canEssentialBeAdded(contextTab));
|
||||
document.getElementById('context_zen-remove-essential').hidden =
|
||||
!contextTab.getAttribute('zen-essential');
|
||||
document.getElementById('zen-context-menu-new-folder').hidden =
|
||||
contextTab.getAttribute('zen-essential');
|
||||
document.getElementById('context_unpinTab').hidden =
|
||||
document.getElementById('context_unpinTab').hidden ||
|
||||
contextTab.getAttribute('zen-essential');
|
||||
|
||||
Reference in New Issue
Block a user