Skip to content

Commit

Permalink
Add mobile first styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Choudhury-Lucas committed Dec 24, 2017
1 parent 1034014 commit 2776461
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/styles/components/_add-option.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.add-option {
display: flex;
flex-direction: column;
padding: $m-size;
}
.add-option__input {
Expand All @@ -8,7 +9,7 @@
border: none;
border-bottom: .3rem solid darken($color: $dark-blue, $amount: 10);
flex-grow: 1;
margin-right: $s-size;
margin: 0 0 $s-size 0;
padding: $s-size;
}

Expand All @@ -17,4 +18,14 @@
font-style: italic;
padding: 0 $m-size;
margin-top: $m-size;
}

@media (min-width: 45rem) {
.add-option {
flex-direction: row;
}

.add-option__input {
margin: 0 $s-size 0 0;
}
}

0 comments on commit 2776461

Please sign in to comment.