Skip to content

Commit

Permalink
Fix too large announcements not being scrollable in web UI (#13211)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Mar 6, 2020
1 parent e69a3f5 commit 503eab1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@

.announcements__item__content {
word-wrap: break-word;
overflow-y: auto;

.emojione {
width: 20px;
Expand Down Expand Up @@ -6676,17 +6677,21 @@ noscript {
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 {
Expand Down

0 comments on commit 503eab1

Please sign in to comment.