Skip to content

Commit

Permalink
Merge pull request #10881 from nextcloud/fix/10705/notification-width
Browse files Browse the repository at this point in the history
Makes the notifications area width equal to the contents
  • Loading branch information
skjnldsv authored Aug 28, 2018
2 parents a14fddc + a958ddf commit a3d61b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions core/css/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,9 @@
right: 27px;
}
}

#notification-container {
max-width: 100%;
width: 100%;
}
}
5 changes: 3 additions & 2 deletions core/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -399,16 +399,17 @@ td.avatar {
}

#notification-container {
left: 50%;
max-width: 60%;
position: fixed;
top: 0;
width: 100%;
text-align: center;
transform: translateX(-50%);
z-index: 8000;
}

#notification {
margin: 0 auto;
max-width: 60%;
z-index: 8000;
background-color: var(--color-main-background);
border: 0;
Expand Down

0 comments on commit a3d61b4

Please sign in to comment.