mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-26 08:08:52 +00:00
feat: Dont trim the urlbar when it's open, b=(no-bug), c=common
This commit is contained in:
@@ -397,7 +397,11 @@ var gZenUIManager = {
|
||||
},
|
||||
|
||||
urlbarTrim(aURL) {
|
||||
if (gZenVerticalTabsManager._hasSetSingleToolbar && this.urlbarShowDomainOnly) {
|
||||
if (
|
||||
gZenVerticalTabsManager._hasSetSingleToolbar &&
|
||||
this.urlbarShowDomainOnly &&
|
||||
!gURLBar.hasAttribute('breakout-extend')
|
||||
) {
|
||||
let url = BrowserUIUtils.removeSingleTrailingSlashFromURL(aURL);
|
||||
return url.startsWith('https://') ? url.split('/')[2] : url;
|
||||
}
|
||||
|
||||
@@ -101,6 +101,10 @@
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
#urlbar .urlbar-input {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
:root[zen-single-toolbar='true'] #urlbar:not([breakout-extend='true']) {
|
||||
& #urlbar-input {
|
||||
cursor: default;
|
||||
|
||||
Reference in New Issue
Block a user