lib/ecrire/app/assets/stylesheets/sessions.css.scss in ecrire-0.25.2 vs lib/ecrire/app/assets/stylesheets/sessions.css.scss in ecrire-0.26.0
- old
+ new
@@ -1,18 +1,22 @@
[id^='Sessions'] {
@include display(flex);
+ @include justify-content(center);
+ @include flex(1);
- & > main {
- @include justify-content(center);
- @include flex(1);
+ & > section {
@include display(flex);
+ @include flex(1);
+ @include flex-direction(column);
@include align-items(center);
@include justify-content(center);
}
form {
- min-width: 250px;
+ max-width: 500px;
+ width: 100%;
+ margin: 0 auto;
@include display(flex);
@include flex-wrap(wrap);
div.fieldset {
@include display(flex);
@@ -21,11 +25,11 @@
border: 1px solid #BABABA;
border-right: none;
border-radius: 2px 0 0 2px;
background: #FFF;
}
-
+
p {
@include flex(1 100%);
padding: 0 1em;
}
@@ -92,6 +96,5 @@
box-shadow: inset 0 1px 3px 0 rgba(57, 88, 58, 0.26);
}
}
}
}
-