pull/1142/head
Mikunj 5 years ago
parent ebc768887f
commit a351ce6c30

@ -219,7 +219,10 @@ function getWindowSize() {
const { minWidth, minHeight, defaultWidth, defaultHeight } = WINDOW_SIZE; const { minWidth, minHeight, defaultWidth, defaultHeight } = WINDOW_SIZE;
// Ensure that the screen can fit within the default size // Ensure that the screen can fit within the default size
const width = Math.min(defaultWidth, Math.max(minWidth, screenSize.width)); const width = Math.min(defaultWidth, Math.max(minWidth, screenSize.width));
const height = Math.min(defaultHeight, Math.max(minHeight, screenSize.height)); const height = Math.min(
defaultHeight,
Math.max(minHeight, screenSize.height)
);
return { width, height, minWidth, minHeight }; return { width, height, minWidth, minHeight };
} }

@ -49,7 +49,6 @@
padding-bottom: 20px; padding-bottom: 20px;
} }
&-close-button { &-close-button {
display: flex; display: flex;
align-items: center; align-items: center;
@ -274,5 +273,3 @@
.registration-content-centered { .registration-content-centered {
text-align: center; text-align: center;
} }

Loading…
Cancel
Save