mirror of
https://github.com/openvk/openvk
synced 2025-02-22 19:59:45 +03:00
fix(messagebox): make dialogue content scrollable and remove height
from dialogue header and action boxes (#1230)
Sometimes dialogue boxes get too long and end up going off the screen, making the content impossible to see. This change fixes that by allowing the dialogue content to scroll. It also removes some height restrictions from the header and action sections since they didn’t seem to serve a clear purpose (to me) and might have been causing layout issues.
This commit is contained in:
parent
00b408c299
commit
6d721eb8b9
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,6 @@ body.dimmed > .dimmer #absolute_territory {
|
|||
}
|
||||
|
||||
.ovk-diag-head {
|
||||
height: 25%;
|
||||
padding: 5px;
|
||||
background-color: #757575;
|
||||
border-bottom: 1px solid #3e3e3e;
|
||||
|
@ -49,11 +48,12 @@ body.dimmed > .dimmer #absolute_territory {
|
|||
|
||||
.ovk-diag-body {
|
||||
padding: 20px;
|
||||
overflow-y: auto;
|
||||
max-height: 80vh
|
||||
}
|
||||
|
||||
.ovk-diag-action {
|
||||
padding: 10px;
|
||||
height: 25%;
|
||||
background-color: #d4d4d4;
|
||||
text-align: right;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue