Commit 60787393 by alisan617

change to comlete flex layout

parent 26933053
...@@ -898,18 +898,13 @@ div.problem .action { ...@@ -898,18 +898,13 @@ div.problem .action {
margin-top: $baseline; margin-top: $baseline;
min-height: $baseline; min-height: $baseline;
width: 100%; width: 100%;
display: flex;
display: -ms-flexbox;
-ms-flex-align: start;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
.problem-action-buttons-wrapper {
@media (min-width: $bp-screen-lg) {
@include text-align(right);
@include float(right);
}
}
.problem-action-button-wrapper { .problem-action-button-wrapper {
@include border-right(1px solid $light-gray1); @include border-right(1px solid $light-gray1);
display: inline-block; display: inline-block;
...@@ -935,7 +930,8 @@ div.problem .action { ...@@ -935,7 +930,8 @@ div.problem .action {
} }
.submit-attempt-container { .submit-attempt-container {
display: inline-flex; padding-bottom: $baseline;
flex-grow: 1;
@media (max-width: $bp-screen-lg) { @media (max-width: $bp-screen-lg) {
max-width: 100%; max-width: 100%;
...@@ -944,12 +940,14 @@ div.problem .action { ...@@ -944,12 +940,14 @@ div.problem .action {
.submit { .submit {
@include margin-right($baseline / 2); @include margin-right($baseline / 2);
@include float(left); @include float(left);
white-space: nowrap;
} }
} }
.submission-feedback { .submission-feedback {
display: inline-block; @include margin-right($baseline / 2);
margin-top: $baseline / 2; margin-top: $baseline / 2;
display: inline-block;
color: $gray-d1; color: $gray-d1;
font-size: $medium-font-size; font-size: $medium-font-size;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment