Skip to content

Commit

Permalink
update flex property to be more explicit
Browse files Browse the repository at this point in the history
update slash to math.div for scss
  • Loading branch information
Yen Truong committed Jun 2, 2021
1 parent 338874d commit c4cb27f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.Answers {
&-container, &-resultsMidContainer {
@media (min-width: #{$breakpoint-expanded-filters}) {
width: $container-width-at-collapsed-filters-breakpoint / $breakpoint-collapsed-filters * 100%;
width: math.div($container-width-at-collapsed-filters-breakpoint, $breakpoint-collapsed-filters) * 100%;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions static/scss/answers/templates/vertical-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@
}

&-resultsLeftContainer {
flex: 1;
flex: 1 1 0;
display: flex;
justify-content: flex-end;
}

&-resultsRightContainer {
flex: 1;
flex: 1 1 0;
}

&-resultsMidContainer {
Expand Down
4 changes: 2 additions & 2 deletions static/scss/answers/templates/vertical-standard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
}

&-resultsLeftContainer {
flex: 1;
flex: 1 1 0;
display: flex;
justify-content: flex-end;
}

&-resultsRightContainer {
flex: 1;
flex: 1 1 0;
}
&-resultsMidContainer {
max-width: var(--hh-answers-container-width);
Expand Down

0 comments on commit c4cb27f

Please sign in to comment.