feat(firefox): remove oneline css to get rid of alignment bugs

This commit is contained in:
matt1432 2023-10-12 09:47:06 -04:00
parent 8ada675d3f
commit 1c8f74f2fa
3 changed files with 2 additions and 13 deletions

View file

@ -4,13 +4,6 @@
display: none !important; display: none !important;
} }
#unified-extensions-button {
display: flex;
left: calc(100vw - var(--uc-window-control-width) - 13px) !important;
top: var(--windowed-top-padding, -0.5px);
z-index: 3 !important;
}
#appMenu-popup { #appMenu-popup {
position: fixed !important; position: fixed !important;
top: 0px !important; top: 0px !important;
@ -34,11 +27,8 @@ slot {
border-radius: 5% 0 0 5% !important; border-radius: 5% 0 0 5% !important;
} }
@media screen and (max-width: 1000px) { @media screen {
:root:not([chromehidden~="toolbar"]) #PersonalToolbar { :root:not([chromehidden~="toolbar"]) #PersonalToolbar {
margin-top: -103.5px !important;
}
:root[privatebrowsingmode]:not([chromehidden~="toolbar"]) #PersonalToolbar {
margin-top: -106.5px !important; margin-top: -106.5px !important;
} }
} }

View file

@ -27,7 +27,6 @@ stdenvNoCC.mkDerivation {
sed -i 's/rounded_corner.wave", false/rounded_corner.wave", true/' ./user.js sed -i 's/rounded_corner.wave", false/rounded_corner.wave", true/' ./user.js
mv ./Extras/Left-SideBar/ogx_left-sidebar.css ./chrome/components mv ./Extras/Left-SideBar/ogx_left-sidebar.css ./chrome/components
mv ./Extras/OneLine/ogx_oneline.css ./chrome/components
mkdir -p $out mkdir -p $out
cp -r ./* $out cp -r ./* $out

View file

@ -29,7 +29,7 @@ in
"browser.startup.page" = 3; "browser.startup.page" = 3;
# Prefs # Prefs
"layout.css.devPixelsPerPx" = 1.15; "layout.css.devPixelsPerPx" = 1.12;
"browser.tabs.firefox-view" = false; "browser.tabs.firefox-view" = false;
"browser.search.widget.inNavBar" = true; "browser.search.widget.inNavBar" = true;
"browser.toolbars.bookmarks.visibility" = "always"; "browser.toolbars.bookmarks.visibility" = "always";