Skip to content

Commit

Permalink
🔧 chore(button.scss): Fix UI glitch where button shadow on focus is s…
Browse files Browse the repository at this point in the history
…ometimes overlapped by neighboring buttons
  • Loading branch information
Spiderpig86 committed Sep 14, 2021
1 parent 587836c commit 5a7d18f
Show file tree
Hide file tree
Showing 5 changed files with 6,034 additions and 6,018 deletions.
4 changes: 4 additions & 0 deletions dist/cirrus-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@
border-radius: 0;
/* Remove roundness from center buttons */
margin-left: -1px; }
.btn-group .btn:focus, .btn-group button:focus, .btn-group [type="submit"]:focus, .btn-group [type="reset"]:focus, .btn-group [type="button"]:focus {
z-index: 1; }
.btn-group.btn-group-fill {
/* Makes the button group fill the width and proportion the buttons to fill the space */
display: -webkit-box;
Expand All @@ -465,6 +467,8 @@
-webkit-box-flex: 1;
flex: 1 0;
/* Make the buttons fill the available width and proportion themselves */ }
.btn-group.btn-group-fill:focus {
z-index: 1; }

@media screen and (max-width: 767px) {
.btn-group {
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5a7d18f

Please sign in to comment.