Skip to content

Commit 8833c88

Browse files
sneakers-the-ratlwasser
authored andcommitted
ensmallen buttons
1 parent b6d1a5a commit 8833c88

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

_sass/minimal-mistakes/_pyos-isotope.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,26 @@ input[type="text"] {
7272
.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
7373
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }
7474

75+
.button-group {
76+
display: flex;
77+
flex-wrap: wrap;
78+
79+
.button {
80+
flex-grow: 1;
81+
82+
@media (max-width: $small){
83+
padding: 0.25em 0.5em;
84+
margin-bottom: 0.25em;
85+
box-shadow: unset;
86+
87+
&:first-child, &:last-child {
88+
border-radius: 0;
89+
}
90+
}
91+
}
92+
}
93+
94+
7595
/* ---- grid ---- */
7696

7797

0 commit comments

Comments
 (0)