Skip to content

Commit

Permalink
refactor: modify the cursor style of the select component
Browse files Browse the repository at this point in the history
  • Loading branch information
luohuidong committed Nov 7, 2023
1 parent dc25307 commit 26f4f0a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/smart-spoons-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unify-ui": patch
---

modify the cursor style of the select component
1 change: 0 additions & 1 deletion src/components/data-entry/Select/SelectTrigger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const hiddenInput = computed(() => {
border: 1px solid rgb(229, 231, 235);
background: rgb(255, 255, 255);
border-radius: form.$radius;
cursor: pointer;
}
.trigger--focus:focus-within {
Expand Down
2 changes: 2 additions & 0 deletions src/components/data-entry/Select/SelectTriggerIcons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const { actions, state } = useStore();
.icon-arrow {
width: 12px;
height: 12px;
cursor: pointer;
&.select__icon-arrow--up {
transform: rotate(90deg);
Expand All @@ -92,6 +93,7 @@ const { actions, state } = useStore();
.icon-close {
display: none;
cursor: pointer;
}
.icon--normal {
color: form.$icon-color;
Expand Down

0 comments on commit 26f4f0a

Please sign in to comment.