Skip to content

Commit

Permalink
AB#705 Fix luminosity contrast by applying double border
Browse files Browse the repository at this point in the history
- Remove fixed height
  • Loading branch information
rechen committed Jan 14, 2023
1 parent fdd4984 commit 4e5d0f0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/@batch-flask/ui/buttons/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ bl-button-group {

bl-button {
display: inline-block;
height: $action-btn-size;
outline: none;
cursor: pointer;
text-align: center;
Expand Down Expand Up @@ -42,12 +41,16 @@ bl-button {
}

&[type="wide"] {
border: 2px solid transparent;

&.focus-outline.focus-visible, &.focus-visible {
outline-color: rgb(39, 185, 211);
border-color: $primary-color-dark;
outline-color: white;
outline-width: 2.5px;
outline-style: solid;
outline-offset: -1px;
outline-offset: -4.5px;
opacity: 1;
text-align: center;
}
}

Expand Down

0 comments on commit 4e5d0f0

Please sign in to comment.