Skip to content

Commit

Permalink
fix(NcInputField): Make focus visible on trailing button look better
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 18, 2024
1 parent ad3a9c8 commit faca023
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/NcInputField/NcInputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -488,11 +488,17 @@ export default {
}
&__trailing-button {
--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;
&.button-vue {
position: absolute;
top: 0;
right: 0;
top: var(--border-width-input-focused, 2px);
right: var(--border-width-input-focused, 2px);
border-radius: var(--border-radius-large);
&:focus-visible {
box-shadow: none !important;
}
}
&--pill.button-vue {
Expand Down

0 comments on commit faca023

Please sign in to comment.