Guest User

Untitled

a guest
Apr 5th, 2025
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. /* Set the main variable - Primary control */
  2. #TabsToolbar {
  3. --tab-min-height: 26px !important; /* <<< TRY A SMALLER VALUE HERE (e.g., 24px, 26px) */
  4. /* Consider removing or adjusting the line below if tabs don't shrink */
  5. /* height: 30px !important; */ /* Toolbar height - make slightly larger than --tab-min-height */
  6. padding-top: 0px !important; /* Reduce any padding on the toolbar itself */
  7. padding-bottom: 0px !important;
  8. }
  9.  
  10. /* Directly target individual tabs */
  11. .tabbrowser-tab {
  12. min-height: var(--tab-min-height) !important;
  13. max-height: var(--tab-min-height) !important; /* Force max height */
  14. padding-inline: 0px !important; /* Adjust horizontal padding if needed */
  15. }
  16.  
  17. /* Target the visual background element */
  18. .tab-background {
  19. margin-block: 0px !important; /* Remove vertical margins */
  20. padding-block: 0px !important; /* Remove vertical padding */
  21. }
  22.  
  23. /* Target the content container within the tab */
  24. .tab-content {
  25. padding-block: 0px !important; /* Remove vertical padding */
  26. margin-block: 0px !important; /* Remove vertical margin */
  27. }
  28.  
  29. /* Target the text label specifically */
  30. .tab-label-container {
  31. padding-block: 0px !important; /* Remove vertical padding */
  32. margin-block: 0px !important; /* Remove vertical margin */
  33. }
  34. .tab-label {
  35. line-height: var(--tab-min-height) !important; /* Force line height to match tab height */
  36. margin: 0 !important;
  37. padding: 0 !important;
  38. }
  39.  
  40.  
  41. /* Target icons/indicators - ensure they don't add extra height */
  42. .tab-icon-image,
  43. .tab-throbber,
  44. .tab-sharing-icon-overlay,
  45. .tab-icon-sound {
  46. margin-top: 0px !important;
  47. margin-bottom: 0px !important;
  48. padding-top: 0px !important;
  49. padding-bottom: 0px !important;
  50. /* Optional: Scale if they still look too big */
  51. /* transform: scale(0.85); */
  52. }
  53.  
  54. /* failed attempt to reduce or remove the gap below the tabs */
  55.  
  56. #TabsToolbar {
  57. /* Ensure no bottom padding, margin or border is adding space */
  58. padding-bottom: 0px !important;
  59. margin-bottom: 0px !important;
  60. border-bottom-width: 0px !important; /* Remove any bottom border */
  61.  
  62. /* --- CRITICAL --- */
  63. /* If you previously set a fixed 'height' for #TabsToolbar, REMOVE IT or set it to 'auto'. */
  64. /* A fixed height larger than needed will create a gap. */
  65. /* Example: Ensure this line is REMOVED or commented out: */
  66. /* height: 30px !important; */
  67.  
  68. /* You might also need to force the minimum height lower if something else sets it */
  69. min-height: unset !important; /* Try adding this to override default minimums */
  70. /* Alternatively, try setting min-height to match your tab height variable */
  71. /* min-height: calc(var(--tab-min-height) + 2px) !important; */ /* Add 1-2px for breathing room/borders */
  72.  
  73. }
  74.  
  75. /* Reduce space above the navigation bar (address bar) */
  76. #navigator-toolbox {
  77. padding-bottom: 0px !important; /* does fuck all */
  78. min-height: 20px !important; /* does fuck all */
  79. }
  80.  
  81. /* what the fuck is this */
  82. #nav-bar {
  83. margin-top: 0px !important; /* Remove space above the address bar */
  84. border-top-width: 0px !important; /* Remove any border line above address bar */
  85. box-shadow: none !important; /* Remove any shadow that might create visual space */
  86. }
  87.  
Add Comment
Please, Sign In to add comment