mirror of https://github.com/Chocobozzz/PeerTube
Fix notification popover width
parent
38967f7b73
commit
fdebd9a3bd
|
@ -3,7 +3,7 @@
|
|||
|
||||
/deep/ {
|
||||
.popover-notifications.popover {
|
||||
max-width: 400px;
|
||||
max-width: none;
|
||||
|
||||
.popover-body {
|
||||
padding: 0;
|
||||
|
@ -11,9 +11,8 @@
|
|||
font-family: $main-fonts;
|
||||
overflow-y: auto;
|
||||
max-height: 500px;
|
||||
min-width: 200px;
|
||||
width: 400px;
|
||||
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.30);
|
||||
overflow-y: auto;
|
||||
|
||||
.notifications-header {
|
||||
display: flex;
|
||||
|
@ -82,3 +81,11 @@
|
|||
height: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
/deep/ {
|
||||
.popover-notifications.popover .popover-body {
|
||||
width: 400px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -243,7 +243,7 @@ menu {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
.menu-wrapper {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue