kopia lustrzana https://github.com/cheeaun/phanpy
Fix .insignificant class affecting other elements
Remove them because they were used in previous discarded designpull/10/head
rodzic
72b0931554
commit
6e09d5f836
10
src/app.css
10
src/app.css
|
@ -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;
|
||||
|
|
|
@ -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" />
|
||||
|
|
Ładowanie…
Reference in New Issue