mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Updated Tips (markdown)
parent
cf02577587
commit
a7597897f1
1 changed files with 12 additions and 1 deletions
13
Tips.md
13
Tips.md
|
|
@ -106,7 +106,18 @@ Use this code:
|
|||
|
||||
**Apply**
|
||||
|
||||
Use this code: https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/centered_tab_label.css
|
||||
Use this code:
|
||||
```css
|
||||
/* Based on https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/centered_tab_label.css */
|
||||
.tab-label-container{ display: grid; justify-content: safe center }
|
||||
.tab-label,.tab-secondary-label{ overflow: hidden }
|
||||
|
||||
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
|
||||
.tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) { margin-inline-end: 5px; }
|
||||
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) { margin-inline-end: 1px; }
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected]):not(:hover, [pinned]) .tab-label-container:not([textoverflow]) { margin-inline-end: 19px; }
|
||||
```
|
||||
|
||||
Refer: [issue #71](https://github.com/black7375/Firefox-UI-Fix/issues/71)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue