(Fx69 support) Apply placeholder margins to #browser instead of #content-deck

This commit is contained in:
MrOtherGuy 2019-06-16 09:05:07 +03:00
parent 0be1e46ced
commit ba7234130f
4 changed files with 7 additions and 4 deletions

View file

@ -69,4 +69,5 @@
#statuspanel-inner > #statuspanel-label[value^="https"]{ color: var(--lwt-toolbar-field-color, black) !important;}
:root:not([inDOMFullscreen]) #content-deck{ margin-bottom: var(--tab-min-height) }
:root:not([inDOMFullscreen]) #content-deck,
:root:not([inDOMFullscreen]) > #browser{ margin-bottom: var(--tab-min-height) }

View file

@ -39,7 +39,8 @@ transform: translateY(calc(-4 * var(--toolbarbutton-outer-padding) + 4px))
#PanelUI-button{ float: right; }
:root:not([inDOMFullscreen]) #content-deck{ margin-top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding))}
:root:not([inDOMFullscreen]) #content-deck,
:root:not([inDOMFullscreen]) > #browser{ margin-top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding))}
/* Restyle nav-bar and menubar */
#nav-bar-customization-target{ width: calc(100% - 100px); }

View file

@ -35,7 +35,8 @@ linux_gtk_window_control_patch.css
:root[sizemode="maximized"] #toolbar-menubar:not([autohide="false"]) .titlebar-buttonbox-container{ top: 8px }
/* Move tabs below content */
:root:not([inDOMFullscreen]) #content-deck{ margin-bottom: var(--tab-min-height) }
:root:not([inDOMFullscreen]) #content-deck,
:root:not([inDOMFullscreen]) > #browser{ margin-bottom: var(--tab-min-height) }
#TabsToolbar{ position: fixed; bottom: 0px; width: 100vw; height: var(--tab-min-height) }
#TabsToolbar-customization-target{ width: 100vw; }

View file

@ -45,4 +45,4 @@
background-color: var(--lwt-accent-color)
}
:root:not([inDOMFullscreen]) > #content-deck{ margin-right: 30px }
:root:not([inDOMFullscreen]) > #content-deck,:root:not([inDOMFullscreen]) > #browser{ margin-right: 30px }