[Glitch] Fix too large announcements not being scrollable in web UI

Port 503eab1c1f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
main
ThibG 5 years ago committed by Thibaut Girka
parent 6211eff739
commit 3c96a0c21d

@ -1,5 +1,6 @@
.announcements__item__content {
word-wrap: break-word;
overflow-y: auto;
.emojione {
width: 20px;
@ -69,17 +70,21 @@
box-sizing: border-box;
width: 100%;
padding: 15px;
padding-right: 15px + 18px;
position: relative;
font-size: 15px;
line-height: 20px;
word-wrap: break-word;
font-weight: 400;
max-height: 50vh;
overflow: hidden;
display: flex;
flex-direction: column;
&__range {
display: block;
font-weight: 500;
margin-bottom: 10px;
padding-right: 18px;
}
&__unread {

Loading…
Cancel
Save