Fix modal positioning in item detail

This commit is contained in:
Eike Kettner 2020-08-07 16:56:15 +02:00
parent 1d2b432e82
commit c0a7c0d62c
2 changed files with 7 additions and 6 deletions

View File

@ -602,7 +602,7 @@ viewModal settings mm =
in in
div div
[ classList [ classList
[ ( "ui inverted dimmer", True ) [ ( "ui inverted dimmer keep-small", True )
, ( "invisibe hidden", hidden ) , ( "invisibe hidden", hidden )
, ( "active", not hidden ) , ( "active", not hidden )
] ]

View File

@ -170,11 +170,12 @@ textarea.markdown-editor {
background: rgba(0,0,0,0.2); background: rgba(0,0,0,0.2);
} }
@media only screen and (min-width: 992px) {
.ui.modal.keep-small { .ui.dimmer.keep-small {
width: inherit; justify-content: start;
margin: 0 0 0 1rem; }
} .ui.modal.keep-small {
width: 95%;
} }