mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Improved dialog button bar CSS
This commit is contained in:
parent
fc9534c7d1
commit
3ec6efe41e
@ -147,11 +147,11 @@
|
||||
.dialog_bar > label {
|
||||
width: var(--max_label_width);
|
||||
}
|
||||
.dialog_bar::after {
|
||||
/*.dialog_bar::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: block;
|
||||
}
|
||||
}*/
|
||||
.dialog_bar.narrow {
|
||||
min-height: 30px;
|
||||
}
|
||||
@ -372,6 +372,10 @@
|
||||
grid-area: buttons;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 12px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: right;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.dialog_sidebar .dialog_sidebar_pages {
|
||||
|
@ -784,7 +784,6 @@ window.Dialog = class Dialog {
|
||||
let button_bar = $('<div class="dialog_bar button_bar"></div>');
|
||||
|
||||
buttons.forEach((button, i) => {
|
||||
if (i) button_bar.append(' ')
|
||||
button_bar.append(button)
|
||||
})
|
||||
|
||||
@ -1037,7 +1036,6 @@ window.MessageBox = class MessageBox extends Dialog {
|
||||
let button_bar = $('<div class="dialog_bar button_bar"></div>');
|
||||
|
||||
buttons.forEach((button, i) => {
|
||||
if (i) button_bar.append(' ')
|
||||
button_bar.append(button)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user