Responsive form work
This commit is contained in:
parent
e98fabdc49
commit
cb16df5d13
7 changed files with 34 additions and 10 deletions
|
|
@ -552,8 +552,8 @@ form .flex-form {
|
|||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
-ms-grid-columns: (minmax(384px, 1fr))[auto-fit];
|
||||
grid-template-columns: repeat(auto-fit, minmax(384px, 1fr));
|
||||
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
|
||||
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
|
||||
grid-gap: 1rem 3rem;
|
||||
grid-auto-flow: dense;
|
||||
margin: auto;
|
||||
|
|
@ -565,6 +565,13 @@ form .flex-form.labelled {
|
|||
grid-template-columns: 1fr 5fr;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
form .flex-form.labelled {
|
||||
-ms-grid-columns: (minmax(256px, 1fr))[auto-fit];
|
||||
grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
form .flex-form input {
|
||||
background-color: #535884;
|
||||
color: #ccdbf1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue