Fix .insignificant class affecting other elements

Remove them because they were used in previous discarded design
This commit is contained in:
Lim Chee Aun 2022-12-18 01:14:44 +08:00
parent 72b0931554
commit 6e09d5f836
2 changed files with 3 additions and 15 deletions

View file

@ -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;

View file

@ -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" />