Skip to content

Commit 0903666

Browse files
author
Haoxin Yang
committed
fix: fullscreen fitviewport dialog style
1 parent 062ebbe commit 0903666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dialog/dialog.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ $fullscreen-height: calc(100vh - (#{$spacing} * 2));
145145
&--fullscreen {
146146
width: $fullscreen-width;
147147
height: $fullscreen-height;
148-
margin: 0;
148+
margin: auto;
149149
}
150150

151151
&--fit-viewport {
152152
max-width: $fullscreen-width;
153153
max-height: $fullscreen-height;
154-
margin: 0;
154+
margin: auto;
155155

156156
.aui-dialog {
157157
&__header {

0 commit comments

Comments
 (0)