Skip to content

Commit

Permalink
Fix VSelectField focus ring (#4939)
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat authored Sep 17, 2024
1 parent 81edaaa commit dce6089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/VSelectField/VSelectField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const splitAttrs = computed(() => {
<select
:id="fieldId"
v-model="selectValue"
class="flex h-[calc(theme(spacing.10)_-_2_*_theme(borderWidth.DEFAULT))] appearance-none truncate bg-tx pe-10"
class="outline-style-none flex h-[calc(theme(spacing.10)_-_2_*_theme(borderWidth.DEFAULT))] appearance-none truncate bg-tx pe-10"
:class="[
showSelected ? 'w-full' : 'w-0 max-w-0',
hasStartContent ? 'ps-10' : 'ps-2',
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@
input[type="search"]::-webkit-search-results-decoration {
-webkit-appearance: none;
}

/* Completely remove the outline; to be replaced with a different focus ring */
.outline-style-none {
outline-style: none;
}
}
/*
Text styles from Figma, @see
Expand Down

0 comments on commit dce6089

Please sign in to comment.