Fix .insignificant class affecting other elements

Remove them because they were used in previous discarded design
pull/10/head
Lim Chee Aun 2022-12-18 01:14:44 +08:00
rodzic 72b0931554
commit 6e09d5f836
2 zmienionych plików z 3 dodań i 15 usunięć

Wyświetl plik

@ -121,16 +121,6 @@ a.mention span {
.timeline.flat > li {
border-bottom: none;
}
/* .timeline li.insignificant {
filter: opacity(0.5);
background-color: var(--bg-faded-color);
}
.timeline li.insignificant > * {
opacity: 0.75;
}
.timeline li.insignificant:hover > * {
opacity: 1;
} */
.timeline.contextual > li {
--width: 3px;

Wyświetl plik

@ -166,11 +166,9 @@ function StatusPage({ id }) {
<li
key={statusID}
ref={isHero ? heroStatusRef : null}
class={`${isHero ? '' : 'insignificant'} ${
ancestor ? 'ancestor' : ''
} ${descendant ? 'descendant' : ''} ${
descendant && !directReply ? 'indirect' : ''
}`}
class={`${ancestor ? 'ancestor' : ''} ${
descendant ? 'descendant' : ''
} ${descendant && !directReply ? 'indirect' : ''}`}
>
{isHero ? (
<Status statusID={statusID} withinContext size="l" />