mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Fix some content-visibility: auto weirdness
This commit is contained in:
parent
07242eb4d2
commit
333c434343
1 changed files with 5 additions and 6 deletions
11
src/app.css
11
src/app.css
|
@ -367,14 +367,13 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|||
border-bottom: var(--hairline-width) solid var(--divider-color);
|
||||
--line-dir: var(--to-forward);
|
||||
}
|
||||
.timeline > li + li:not(.timeline-item-carousel) {
|
||||
.timeline > li + li:not(.timeline-item-carousel, .hero, .ancestor) {
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 160px;
|
||||
|
||||
&:is(:hover, :focus-visible) {
|
||||
/* Needed to undo the overflow: hidden "effect" due to "content-visibility: auto" */
|
||||
content-visibility: visible;
|
||||
}
|
||||
}
|
||||
.timeline.contextual > li:is(:hover, :focus-visible) {
|
||||
/* Needed to undo the overflow: hidden "effect" due to "content-visibility: auto" */
|
||||
content-visibility: visible !important;
|
||||
}
|
||||
.timeline.flat > li {
|
||||
border-bottom: none;
|
||||
|
|
Loading…
Reference in a new issue