fix broken pinned tab if there's too many tab

This commit is contained in:
Gerome Matilla 2020-08-02 15:44:33 +08:00
parent 2e3c5def8c
commit 4384e68658
2 changed files with 11 additions and 5 deletions

View File

@ -40,6 +40,10 @@
### If there's no blur effect ### If there's no blur effect
### If you're using Windows or Mac and something's wrong
1. **Sadly, I only have archlinux, so I cannot guarantee that it will work on Windows10 and macOS. A feedback is welcome if it works on your platform.**
1. **The theme does not provide the blur effect!** Make sure you have a compositor with blur support running! KDE Plasma, macOS, and Windows 10 have this by default, but you need to enable it! If you're using linux, use tryone144's [feature/dual_kawase](https://github.com/tryone144/picom/tree/feature/dual_kawase) branch of picom. It includes the dual kawase shader. 1. **The theme does not provide the blur effect!** Make sure you have a compositor with blur support running! KDE Plasma, macOS, and Windows 10 have this by default, but you need to enable it! If you're using linux, use tryone144's [feature/dual_kawase](https://github.com/tryone144/picom/tree/feature/dual_kawase) branch of picom. It includes the dual kawase shader.
### If you're using Plasma and there's no blur effect, ### If you're using Plasma and there's no blur effect,
@ -50,6 +54,3 @@
3. Go to `System Settings > KWin Scripts > Enable Force Blur`. 3. Go to `System Settings > KWin Scripts > Enable Force Blur`.
### If you're using Windows or Mac and something's wrong
1. Sadly, I only have archlinux, so a feedback is welcome if it works on your platform.

View File

@ -398,8 +398,6 @@ hbox.tab-content[pinned=true] .tab-text {
height: var(--bf-tab-height) !important; height: var(--bf-tab-height) !important;
margin-top: 0 !important; margin-top: 0 !important;
margin-bottom: 0 !important; margin-bottom: 0 !important;
margin-inline-start: 2px !important;
margin-inline-end: 2px !important;
} }
.tabbrowser-tab[soundplaying="true"] { .tabbrowser-tab[soundplaying="true"] {
@ -412,6 +410,13 @@ hbox.tab-content[pinned=true] .tab-text {
display: none !important; display: none !important;
} }
/* Center pinned tab stack(Contains icon) if #tabbrowser-tabs[positionpinnedtabs=true] */
#tabbrowser-tabs[positionpinnedtabs=true] .tabbrowser-tab[pinned=true] .tab-stack {
position: relative !important;
top: 50% !important;
transform: translateY(-50%) !important;
}
#tabs-newtab-button { #tabs-newtab-button {
list-style-image: url("add.svg") !important; list-style-image: url("add.svg") !important;
opacity: 1; opacity: 1;