mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-15 03:15:32 +00:00
[Glitch] Add follow button to detailed status, add gradient to mask bio cut-off (fixes #566)
Port 30e1da7668
to glitch-soc
This commit is contained in:
parent
017628fd00
commit
debc6544d9
|
@ -443,6 +443,20 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
height: 5.5em;
|
height: 5.5em;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
display: block;
|
||||||
|
content: "";
|
||||||
|
width: 100%;
|
||||||
|
height: 100px;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
background: linear-gradient(to bottom, rgba($simple-background-color, 0.01) 0%, rgba($simple-background-color, 1) 100%);
|
||||||
|
left: 0;
|
||||||
|
border-radius: 0 0 4px 4px;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,3 +18,9 @@
|
||||||
background: url('~images/elephant_ui_plane.svg') no-repeat left bottom / contain;
|
background: url('~images/elephant_ui_plane.svg') no-repeat left bottom / contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
.account-header {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -312,8 +312,10 @@
|
||||||
.embed {
|
.embed {
|
||||||
.activity-stream {
|
.activity-stream {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
|
|
||||||
.detailed-status.light {
|
.detailed-status.light {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -359,6 +361,4 @@
|
||||||
flex: 100%;
|
flex: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue