From 05e7fa03dcc4a38839290b1693c6c1c3b3c2c395 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 13 Jun 2023 17:27:55 -0700 Subject: [PATCH 1/2] fix(NcSelect): Top placement styles Signed-off-by: Christopher Ng --- src/components/NcSelect/NcSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NcSelect/NcSelect.vue b/src/components/NcSelect/NcSelect.vue index 6de7197fc8..2dffc0483f 100644 --- a/src/components/NcSelect/NcSelect.vue +++ b/src/components/NcSelect/NcSelect.vue @@ -1014,7 +1014,7 @@ body { margin-right: 2px; } - &.vs--open .vs__dropdown-toggle:not([disabled]) { + &.vs--open .vs__dropdown-toggle { border-color: var(--color-primary-element); border-bottom-color: transparent; } From da537d35056f26d6d05cdfe58a04e80a478716ff Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 13 Jun 2023 17:27:55 -0700 Subject: [PATCH 2/2] fix(NcSelect): Disabled hover should not be colored Signed-off-by: Christopher Ng --- src/components/NcSelect/NcSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NcSelect/NcSelect.vue b/src/components/NcSelect/NcSelect.vue index 2dffc0483f..3e34dd6fab 100644 --- a/src/components/NcSelect/NcSelect.vue +++ b/src/components/NcSelect/NcSelect.vue @@ -1019,7 +1019,7 @@ body { border-bottom-color: transparent; } - &:not(.vs--open) .vs__dropdown-toggle:hover:not([disabled]) { + &:not(.vs--disabled, .vs--open) .vs__dropdown-toggle:hover { border-color: var(--color-primary-element); }