mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 05:43:40 +01:00
Merge pull request #436 from unascribed/glitchsoc-pr-better-collapsed-statuses
Add fade and margin to collapsed statuses
This commit is contained in:
commit
d7ae97c10a
1 changed files with 9 additions and 1 deletions
|
@ -244,9 +244,17 @@
|
||||||
height: 20px;
|
height: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
margin: 0;
|
|
||||||
padding-top: 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 {
|
a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue