Code Monkey home page Code Monkey logo

Comments (3)

storm119 avatar storm119 commented on May 12, 2024

Edit: Sorry...spoke to soon need another codes to make em works right...I had alot customization codes which actually make above codes working on my side...my bad!

from firefox-csshacks.

storm119 avatar storm119 commented on May 12, 2024

Update: after a little investigation...this code need to add to make above codes working correctly...

 #TabsToolbar {
  position: absolute !important;
  display: block !important;
  bottom: -2px !important;
  width: 100vw !important;
  border-bottom: none !important;
}
#tabbrowser-tabs {
  width: 100vw !important;
  margin-bottom: -1px !important;
  /* tabs gib me some space at left|right screen */
  -moz-margin-start: 4px !important;
  -moz-margin-end: 4px !important;
}

:root {
  --tab-min-height: 32px !important;
}
:root[uidensity="compact"] {
  --tab-min-height: 28px !important;
}
:root[uidensity="touch"] {
  --tab-min-height: 40px !important;
}

/* tab height */
#tabbrowser-tabs,
#TabsToolbar :-moz-any(.tabs-newtab-button,#tabs-newtab-button),
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-arrowscrollbox > .tabbrowser-tab[pinned] {
  min-height: var(--tab-min-height) !important;
}
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {
  padding-bottom: calc(0px + var(--tab-min-height)) !important;
}
.tabbrowser-tab {
  min-height: var(--tab-min-height) !important;
  border: none !important;
  -moz-box-sizing: border-box !important;
}

from firefox-csshacks.

MrOtherGuy avatar MrOtherGuy commented on May 12, 2024

Since you are doing basically #TabsToolbar { display: block !important; } the -moz-box-oridinal-group on it will do absolutely nothing. If you are using the code in your last post then the whole code where you listed bunch of -moz-box-ordinal groups is totally irrelevant.

I would rather keep #TabsToolbar displayed as -moz-box (like it is currently) for easier compatibility with other modifications. Then, if someone really wants to have menubar shown on top it can be relatively easily hacked there with the menubar on top patch. And that should not have too many compatibility problems.

from firefox-csshacks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.