Skip to content

Commit

Permalink
ensure entire dropdown is clickable (#7918)
Browse files Browse the repository at this point in the history
* dropdown click fix

* add changeset

* add changeset

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
dawoodkhan82 and gradio-pr-bot committed Apr 8, 2024
1 parent bad3836 commit be46ab1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/fast-paths-watch.md
@@ -0,0 +1,6 @@
---
"@gradio/dropdown": patch
"gradio": patch
---

fix:ensure entire dropdown is clickable
6 changes: 5 additions & 1 deletion js/dropdown/shared/Dropdown.svelte
Expand Up @@ -250,9 +250,13 @@

<style>
.icon-wrap {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: var(--size-5);
color: var(--body-text-color);
margin-right: var(--size-2);
width: var(--size-5);
pointer-events: none;
}
.container {
height: 100%;
Expand Down

0 comments on commit be46ab1

Please sign in to comment.