Skip to content

Commit

Permalink
fix(ux): add focus UI to the select dropdown (#532)
Browse files Browse the repository at this point in the history
* fix(ux): add focus UI to the select dropdown

* fix(ux): add type to button

* fix(ux): add type to button

* chore: fix lint
  • Loading branch information
wa0x6e authored Jul 29, 2024
1 parent 80e38d9 commit f1e3b13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/ui/src/components/Ui/SelectDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const items = computed(() => props.items);
<slot name="button">
<button
type="button"
class="flex items-center gap-2 relative rounded-full leading-[100%] border button px-[16px] min-w-[76px] h-[42px] top-1 outline-0 text-skin-link bg-skin-bg"
class="flex items-center gap-2 relative rounded-full leading-[100%] border button px-[16px] min-w-[76px] h-[42px] top-1 text-skin-link bg-skin-bg"
>
<div
class="absolute top-[-10px] bg-skin-bg px-1 left-2.5 text-sm text-skin-text"
Expand Down
7 changes: 5 additions & 2 deletions apps/ui/src/views/Proposal/Votes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ watch([sortBy, choiceFilter], () => {
]"
>
<template #button>
<div class="flex items-center hover:text-skin-link space-x-2">
<button
class="flex items-center hover:text-skin-link space-x-2"
type="button"
>
<span class="truncate">Choice</span>
<IH-adjustments-vertical class="shrink-0" />
</div>
</button>
</template>
</UiSelectDropdown>
</div>
Expand Down

0 comments on commit f1e3b13

Please sign in to comment.