It's time to widen carousel for Firefox users
Srsly take too long time waiting for Firefox to support :has()
This commit is contained in:
parent
6fe182a7a3
commit
14091fbc7b
|
@ -2000,7 +2000,7 @@ ul.link-list li a .icon {
|
|||
transform: none;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#columns li:has(.status-carousel) {
|
||||
#columns li.timeline-item-carousel {
|
||||
width: auto;
|
||||
transform: none;
|
||||
}
|
||||
|
@ -2159,7 +2159,7 @@ ul.link-list li a .icon {
|
|||
/* :is(.carousel-top-controls, .carousel-controls) {
|
||||
padding: 32px;
|
||||
} */
|
||||
li:has(.status-carousel) {
|
||||
li.timeline-item-carousel {
|
||||
width: 95vw;
|
||||
max-width: calc(320px * 3.3);
|
||||
transform: translateX(calc(-50% + 20em));
|
||||
|
|
|
@ -365,7 +365,10 @@ function Timeline({
|
|||
return 0;
|
||||
});
|
||||
return (
|
||||
<li key={`timeline-${statusID}`}>
|
||||
<li
|
||||
key={`timeline-${statusID}`}
|
||||
class="timeline-item-carousel"
|
||||
>
|
||||
<StatusCarousel
|
||||
title={title}
|
||||
class={`${type}-carousel`}
|
||||
|
|
Loading…
Reference in a new issue