mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 16:48:10 +00:00
Merge pull request #437 from thewhodidthis/bf435-dialog
css: override ui-dialog inline styles, use percentage height on body
This commit is contained in:
commit
a814c972aa
@ -1,7 +1,11 @@
|
|||||||
|
html {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100vh;
|
height: 100%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@ -53,9 +57,11 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog {
|
.ui-dialog {
|
||||||
|
left: auto !important;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 88vw;
|
max-width: 88vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
top: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't display close button in the top right corner of the box */
|
/* Don't display close button in the top right corner of the box */
|
||||||
|
Loading…
Reference in New Issue
Block a user