mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 09:06:23 +01:00
Only show data-read-more when it's available
This commit is contained in:
parent
60920966d6
commit
6e73728e2b
1 changed files with 5 additions and 3 deletions
|
@ -160,7 +160,7 @@
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:after {
|
&[data-read-more]:after {
|
||||||
content: attr(data-read-more);
|
content: attr(data-read-more);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -790,7 +790,9 @@
|
||||||
black 1.5em
|
black 1.5em
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
.timeline-deck .status:not(.truncated .status) .content.truncated:after {
|
.timeline-deck
|
||||||
|
.status:not(.truncated .status)
|
||||||
|
.content.truncated[data-read-more]:after {
|
||||||
content: attr(data-read-more);
|
content: attr(data-read-more);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -2289,7 +2291,7 @@ a.card:is(:hover, :focus):visited {
|
||||||
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
mask-image: linear-gradient(to bottom, #000 80px, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&[data-read-more]: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