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 { .timeline.flat > li {
border-bottom: none; 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 { .timeline.contextual > li {
--width: 3px; --width: 3px;

Wyświetl plik

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