Skip to content

Commit

Permalink
fix(messagebox): make dialogue content scrollable and remove height
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
ayaaop authored Feb 16, 2025
1 parent 00b408c commit 6d721eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Web/static/css/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ body.dimmed > .dimmer #absolute_territory {
}

.ovk-diag-head {
height: 25%;
padding: 5px;
background-color: #757575;
border-bottom: 1px solid #3e3e3e;
Expand All @@ -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;
}
Expand Down

0 comments on commit 6d721eb

Please sign in to comment.