1
1
mirror of https://github.com/primer/css.git synced 2024-12-12 10:47:14 +03:00

Add responsiveness

This commit is contained in:
Amanda Pinsker 2019-06-21 12:36:19 +02:00
parent cb88870970
commit 84f23409a3

View File

@ -5,13 +5,10 @@
background-color: white;
color: $black;
padding: $spacer-3;
margin: $spacer-3;
border-radius: 3px;
border: 1px solid $black-fade-15;
max-width: 500px;
min-width: 200px;
margin: $spacer-2;
box-shadow: $box-shadow-medium;
width: max-content;
transition: 0.2s ease;
&:hover {
@ -19,6 +16,12 @@
transition: 0.2s ease;
box-shadow: $box-shadow-large;
}
@include breakpoint(sm) {
max-width: 500px;
width: max-content;
margin: $spacer-3;
}
}
.Toast-octicon {