chore: Fixed pinned tabs

This commit is contained in:
Mauro Balades
2024-07-21 20:34:47 +02:00
parent cc36e8a6e0
commit cf116b5ad3
3 changed files with 11 additions and 14 deletions

View File

@@ -76,9 +76,9 @@
</vbox>
</panelview>
<panel type="arrow" orient="vertical" id="PanelUI-zen-workspaces" position="bottomright topright" mainview="true" side="left">
<panel flip="slide" type="arrow" orient="vertical" id="PanelUI-zen-workspaces" position="bottomright topright" mainview="true" side="left">
<panelmultiview id="PanelUI-zen-workspaces-multiview" mainViewId="PanelUI-zen-workspaces-view">
<panelview id="PanelUI-zen-workspaces-view" class="PanelUI-subView" role="document" mainview-with-header="true" has-custom-header="true">
<panelview lockpanelvertical="true" id="PanelUI-zen-workspaces-view" class="PanelUI-subView" role="document" mainview-with-header="true" has-custom-header="true">
<vbox>
<hbox>
<h3 data-l10n-id="zen-panel-ui-current-window-text"></h3>
@@ -98,7 +98,7 @@
</html:div>
</vbox>
</panelview>
<panelview id="PanelUI-zen-workspaces-create" class="PanelUI-subView" role="document" mainview-with-header="true" has-custom-header="true">
<panelview lockpanelvertical="true" id="PanelUI-zen-workspaces-create" class="PanelUI-subView" role="document" mainview-with-header="true" has-custom-header="true">
<vbox>
<h1 data-l10n-id="zen-panel-ui-workspaces-create-text"></h1>
<html:input autofocus="true" id="PanelUI-zen-workspaces-create-input" type="text" placeholder="Enter workspace name" oninput="ZenWorkspaces.onWorkspaceNameChange(this);" />
@@ -113,6 +113,8 @@
</panelmultiview>
</panel>
<menupopup id="zenWorkspaceActionsMenu"
onpopupshowing="ZenWorkspaces.updateContextMenu(event);"
onpopuphidden="ZenWorkspaces.onContextMenuClose();">

View File

@@ -361,14 +361,14 @@ toolbarbutton#scrollbutton-up {
}
.tabbrowser-tab:nth-last-child(1 of [pinned]) {
margin-bottom: 5px !important;
margin-bottom: 15px !important;
position: relative;
overflow: visible;
&::after {
& .tab-stack::after {
content: '';
position: absolute;
bottom: -5px;
bottom: -11px;
left: 0;
width: 100%;
height: 1.5px;

View File

@@ -251,7 +251,7 @@
#PanelUI-zen-workspaces {
--panel-width: 320px;
width: var(--panel-width);
--panel-padding: 0;
min-height: 200px;
}
@@ -261,8 +261,8 @@
#PanelUI-zen-workspaces panelmultiview panelview {
position: relative;
width: 100%;
overflow: hidden !important;
padding: 15px;
width: var(--panel-width);
}
#PanelUI-zen-workspaces-create-input {
@@ -274,11 +274,6 @@
flex-direction: column;
}
#PanelUI-zen-workspaces .panel-viewcontainer,
#PanelUI-zen-workspaces .panel-viewstack {
width: 100%;
}
#PanelUI-zen-workspaces-current-info toolbarbutton:last-child {
margin-bottom: 0 !important;
}