Merge pull request #10881 from nextcloud/fix/10705/notification-width

Makes the notifications area width equal to the contents
This commit is contained in:
John Molakvoæ 2018-08-28 13:08:09 +02:00 committed by GitHub
commit a3d61b49b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -166,4 +166,9 @@
right: 27px;
}
}
#notification-container {
max-width: 100%;
width: 100%;
}
}

View File

@ -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;