1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-11 16:18:10 +00:00

css: override ui-dialog element inline styles, use percentage height on body

This commit is contained in:
Sotiri Bakagiannis 2021-07-15 19:48:38 +01:00
parent 9992bbde93
commit 636506e43e

View File

@ -1,7 +1,11 @@
html {
height: 100%;
}
body {
align-items: center;
display: flex;
height: 100vh;
height: 100%;
justify-content: center;
margin: 0;
}
@ -53,9 +57,11 @@ a:hover {
}
.ui-dialog {
left: auto !important;
margin: auto;
max-width: 88vw;
position: relative;
top: auto !important;
}
/* Don't display close button in the top right corner of the box */