Cleanup some mobile modal screen sizes

And simplify the ko command bindinghandler to use CSS :enabled
This commit is contained in:
djmaze 2021-02-19 23:31:50 +01:00
parent f673344408
commit fe45179847
6 changed files with 12 additions and 49 deletions

View file

@ -20,7 +20,9 @@
top: 0;
bottom: 0;
left: 0;
width: 900px;
width: auto;
min-width: 550px;
max-width: 900px;
min-height: 300px;
max-height: 700px;
@ -184,7 +186,7 @@
box-shadow: inset 0 -1px 0 #ccc;
.button-save-contact {
&.no-disabled.dirty {
&.dirty:enabled {
color: #51a351;
font-weight: bold;
}
@ -201,8 +203,7 @@
bottom: 60px;
left: @contacts-popup-left-width;
right: 0;
overflow: hidden;
overflow-y: auto;
overflow: auto;
background-color: #fff;
border-left: 1px solid #ddd;