From 726fc787d328a81be07c3165879557c0f5fcaec2 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Wed, 31 Jul 2024 23:35:35 -0700 Subject: [PATCH] ensmallen buttons --- _sass/minimal-mistakes/_pyos-isotope.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/_sass/minimal-mistakes/_pyos-isotope.scss b/_sass/minimal-mistakes/_pyos-isotope.scss index ef1f1746..1b4dadee 100644 --- a/_sass/minimal-mistakes/_pyos-isotope.scss +++ b/_sass/minimal-mistakes/_pyos-isotope.scss @@ -72,6 +72,26 @@ input[type="text"] { .button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; } .button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; } +.button-group { + display: flex; + flex-wrap: wrap; + + .button { + flex-grow: 1; + + @media (max-width: $small){ + padding: 0.25em 0.5em; + margin-bottom: 0.25em; + box-shadow: unset; + + &:first-child, &:last-child { + border-radius: 0; + } + } + } +} + + /* ---- grid ---- */