Commit 8c4deda0 authored by yury-n's avatar yury-n Committed by Luke "Jared" Bennett

Replace long var name with a comment, hide "Milestone" in "Reopen Milestone" on a small screen

parent 82189b4a
...@@ -57,14 +57,14 @@ ...@@ -57,14 +57,14 @@
color: $orange-light; color: $orange-light;
} }
$width_to_show_stats_and_buttons_on_one_line: $screen-xs-min;
.milestone-stats-and-buttons { .milestone-stats-and-buttons {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
// on small screens split into two line
flex-wrap: wrap; flex-wrap: wrap;
@media (min-width: $width_to_show_stats_and_buttons_on_one_line) { @media (min-width: $screen-xs-min) {
// on bigger screens show on one line
justify-content: space-between; justify-content: space-between;
flex-wrap: nowrap; flex-wrap: nowrap;
} }
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
order: 1; order: 1;
// buttons go on its own line below the header and need some margin // buttons go on its own line below the header and need some margin
margin-top: 10px; margin-top: 10px;
@media (min-width: $width_to_show_stats_and_buttons_on_one_line) { @media (min-width: $screen-xs-min) {
// when displayed on one line stats go first, buttons second // when displayed on one line stats go first, buttons second
order: 2; order: 2;
margin-top: 0; margin-top: 0;
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
width: 100%; width: 100%;
padding: 7px 0; padding: 7px 0;
flex-shrink: 1; flex-shrink: 1;
@media (min-width: $width_to_show_stats_and_buttons_on_one_line) { @media (min-width: $screen-xs-min) {
// when displayed on one line stats go first, buttons second // when displayed on one line stats go first, buttons second
order: 1; order: 1;
} }
......
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