mirror of
https://github.com/primer/css.git
synced 2024-12-12 10:47:14 +03:00
Add responsiveness
This commit is contained in:
parent
cb88870970
commit
84f23409a3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user