mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Fix .insignificant class affecting other elements
Remove them because they were used in previous discarded design
This commit is contained in:
parent
72b0931554
commit
6e09d5f836
2 changed files with 3 additions and 15 deletions
10
src/app.css
10
src/app.css
|
@ -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;
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue