mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Don't show 'Read more' if parent is already truncated
This commit is contained in:
parent
b7416bc17d
commit
4dfc0d0b41
1 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@
|
||||||
max-height: 40vh;
|
max-height: 40vh;
|
||||||
max-height: 40dvh;
|
max-height: 40dvh;
|
||||||
}
|
}
|
||||||
.timeline-deck .status .content.truncated {
|
.timeline-deck .status:not(.truncated .status) .content.truncated {
|
||||||
mask-image: linear-gradient(
|
mask-image: linear-gradient(
|
||||||
to top,
|
to top,
|
||||||
transparent,
|
transparent,
|
||||||
|
@ -552,7 +552,7 @@
|
||||||
black 1.5em
|
black 1.5em
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
.timeline-deck .status .content.truncated:after {
|
.timeline-deck .status:not(.truncated .status) .content.truncated:after {
|
||||||
content: attr(data-read-more);
|
content: attr(data-read-more);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue