Updated Tips (markdown)

MS_Y 2021-09-14 03:38:19 +00:00
parent cf02577587
commit a7597897f1

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)