mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 06:46:12 +00:00
fix(ui): update URL bar layout and adjust media controls padding
This commit is contained in:
@@ -65,6 +65,7 @@ var gZenUIManager = {
|
|||||||
tabs.style.removeProperty('flex');
|
tabs.style.removeProperty('flex');
|
||||||
tabs.style.maxHeight = height + 'px';
|
tabs.style.maxHeight = height + 'px';
|
||||||
gZenVerticalTabsManager.actualWindowButtons.removeAttribute('zen-has-hover');
|
gZenVerticalTabsManager.actualWindowButtons.removeAttribute('zen-has-hover');
|
||||||
|
gURLBar.updateLayoutBreakout();
|
||||||
},
|
},
|
||||||
|
|
||||||
get tabsWrapper() {
|
get tabsWrapper() {
|
||||||
@@ -361,7 +362,7 @@ var gZenVerticalTabsManager = {
|
|||||||
marginBottom: isLastTab() ? [] : [transform, '0px'],
|
marginBottom: isLastTab() ? [] : [transform, '0px'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
duration: 0.2,
|
duration: 0.12,
|
||||||
easing: 'ease-out',
|
easing: 'ease-out',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@@ -373,6 +374,9 @@ var gZenVerticalTabsManager = {
|
|||||||
gZenUIManager.motion
|
gZenUIManager.motion
|
||||||
.animate(aTab.querySelector('.tab-content'), {
|
.animate(aTab.querySelector('.tab-content'), {
|
||||||
filter: ['blur(1px)', 'blur(0px)'],
|
filter: ['blur(1px)', 'blur(0px)'],
|
||||||
|
}, {
|
||||||
|
duration: 0.12,
|
||||||
|
easing: 'ease-out',
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
aTab.querySelector('.tab-stack').style.removeProperty('filter');
|
aTab.querySelector('.tab-stack').style.removeProperty('filter');
|
||||||
|
@@ -110,7 +110,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 5px;
|
padding: 4px 6px;
|
||||||
border-radius: var(--border-radius-medium);
|
border-radius: var(--border-radius-medium);
|
||||||
background: var(--zen-media-control-bg) !important;
|
background: var(--zen-media-control-bg) !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Reference in New Issue
Block a user