mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 15:16:38 +00:00
Add fade and margin to collapsed statuses
This commit is contained in:
parent
ed17e173d6
commit
5f9b85a0cf
|
@ -244,9 +244,17 @@
|
|||
height: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0; bottom: 0;
|
||||
left: 0; right: 0;
|
||||
background: linear-gradient(rgba($ui-base-color, 0), rgba($ui-base-color, 1));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue