Skip to content

Commit cebaac7

Browse files
committed
Remove the subtraction of the padding from the height/width. This is unnecessary, it is already done by box-sizing.
1 parent 2ffd3c2 commit cebaac7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wcfsetup/install/files/style/ui/dialog.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ html[data-color-scheme="dark"] .dialog::backdrop {
332332
color: var(--wcfContentText);
333333
display: flex;
334334
flex-direction: column;
335-
max-height: calc(var(--dialog-max-height) - (2 * var(--dialog-padding)));
336-
max-width: calc(var(--dialog-max-width) - (2 * var(--dialog-padding)));
335+
max-height: var(--dialog-max-height);
336+
max-width: var(--dialog-max-width);
337337
min-height: 0;
338338
min-width: 500px;
339339
overflow: hidden;

0 commit comments

Comments
 (0)