diff options
| author | 2024-04-25 08:45:59 +0200 | |
|---|---|---|
| committer | 2024-04-25 08:45:59 +0200 | |
| commit | aac3b21a8b4fd1a2f351a63fdb70d39ac2851921 (patch) | |
| tree | cc87dac0240cbd64da786136b399eca0af920042 /p/themes/Swage | |
| parent | 7b922668551f5dcf99a79c474a09103e78e4c703 (diff) | |
Fix: overflow expanding title in entry header (#6373)
* change HTML structure
* CSS
Diffstat (limited to 'p/themes/Swage')
| -rw-r--r-- | p/themes/Swage/swage.css | 12 | ||||
| -rw-r--r-- | p/themes/Swage/swage.rtl.css | 12 | ||||
| -rw-r--r-- | p/themes/Swage/swage.scss | 10 |
3 files changed, 17 insertions, 17 deletions
diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index 092cbd1ca..74ce77f0d 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -751,20 +751,20 @@ form th { .flux .current { background-color: var(--color-background-hover); } -.flux .flux_header:hover:not(.current):hover .item.title, -.flux .current:not(.current):hover .item.title { +.flux .flux_header:hover:not(.current):hover .item .title, +.flux .current:not(.current):hover .item .title { background-color: var(--color-background-hover); } .flux.favorite:not(.current) { background-color: var(--color-background-stared); } -.flux.favorite:not(.current):hover .item.title { +.flux.favorite:not(.current):hover .item .title { background-color: var(--color-background-stared); } .flux.not_read:not(.current) { background-color: var(--color-background-unread); } -.flux.not_read:not(.current):hover .item.title { +.flux.not_read:not(.current):hover .item .title { background-color: var(--color-background-unread); } .flux .item.date { @@ -909,7 +909,7 @@ a.signin { } @media (max-width: 840px) { - body:not(.formLogin, .register) .header .item.title { + body:not(.formLogin, .register) .header .item .title { display: none; } .form-group .group-name { @@ -948,7 +948,7 @@ a.signin { width: 35px; text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } .aside { diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css index 4a97b6375..8fb7b36dd 100644 --- a/p/themes/Swage/swage.rtl.css +++ b/p/themes/Swage/swage.rtl.css @@ -751,20 +751,20 @@ form th { .flux .current { background-color: var(--color-background-hover); } -.flux .flux_header:hover:not(.current):hover .item.title, -.flux .current:not(.current):hover .item.title { +.flux .flux_header:hover:not(.current):hover .item .title, +.flux .current:not(.current):hover .item .title { background-color: var(--color-background-hover); } .flux.favorite:not(.current) { background-color: var(--color-background-stared); } -.flux.favorite:not(.current):hover .item.title { +.flux.favorite:not(.current):hover .item .title { background-color: var(--color-background-stared); } .flux.not_read:not(.current) { background-color: var(--color-background-unread); } -.flux.not_read:not(.current):hover .item.title { +.flux.not_read:not(.current):hover .item .title { background-color: var(--color-background-unread); } .flux .item.date { @@ -909,7 +909,7 @@ a.signin { } @media (max-width: 840px) { - body:not(.formLogin, .register) .header .item.title { + body:not(.formLogin, .register) .header .item .title { display: none; } .form-group .group-name { @@ -948,7 +948,7 @@ a.signin { width: 35px; text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } .aside { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 33f3db81c..d23183445 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -969,7 +969,7 @@ form { .current { background-color: var(--color-background-hover); - &:not(.current):hover .item.title { + &:not(.current):hover .item .title { background-color: var(--color-background-hover); } } @@ -977,7 +977,7 @@ form { &.favorite:not(.current) { background-color: var(--color-background-stared); - &:hover .item.title { + &:hover .item .title { background-color: var(--color-background-stared); } } @@ -985,7 +985,7 @@ form { &.not_read:not(.current) { background-color: var(--color-background-unread); - &:hover .item.title { + &:hover .item .title { background-color: var(--color-background-unread); } } @@ -1166,7 +1166,7 @@ a.signin { @media (max-width: 840px) { body:not(.formLogin, .register) { .header { - .item.title { + .item .title { display: none; } } @@ -1218,7 +1218,7 @@ a.signin { text-align: center; } - .flux:not(.current):hover .item.title { + .flux:not(.current):hover .item .title { top: auto !important; } |
