mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSform: fix/improve responsive view
This commit is contained in:
parent
f0729a991b
commit
78b18a5729
1 changed files with 17 additions and 2 deletions
|
@ -175,9 +175,19 @@ p.LSform_listAvailableDataEntryForm {
|
|||
width: 34vw;
|
||||
}
|
||||
|
||||
.LSform input[type=text], .LSform input[type=password], .LSform select, .LSform textarea {
|
||||
dd.LSform {
|
||||
margin-left: 34vw;
|
||||
}
|
||||
|
||||
.LSform input[type=text], .LSform input[type=password], .LSform select, .LSform textarea, .LSform input[type=file] {
|
||||
width: 40vw;
|
||||
}
|
||||
|
||||
.LSform input[type=submit].LSform {
|
||||
width: 40vw;
|
||||
margin-left: 3px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
|
@ -192,7 +202,12 @@ p.LSform_listAvailableDataEntryForm {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.LSform input[type=text], .LSform input[type=password], .LSform select, .LSform textarea {
|
||||
.LSform input[type=text], .LSform input[type=password], .LSform select, .LSform textarea, .LSform input[type=file] {
|
||||
width: calc(100% - 1em);
|
||||
}
|
||||
|
||||
.LSform input[type=submit].LSform {
|
||||
width: 50%;
|
||||
margin-left: calc(25% - 0.5em);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue