Skip to content

Commit 104c047

Browse files
committed
fix(color-picker): make sure the popup is positioned correctly
1 parent c018ddd commit 104c047

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/theme-generator/src/Generator.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export default {
8383
:host {
8484
--td-brand-main-hover: var(--brand-main-hover);
8585
--td-bg-color-container: var(--bg-color-theme-secondary);
86-
--td-bg-color-secondarycomponent: var(--bg-color-theme-secondary);
8786
--td-bg-color-container-hover: var(--bg-color-container-hover);
8887
--td-bg-color-component-active: var(--bg-color-component-hover);
8988
--td-border-level-2-color: var(--component-border);

packages/theme-generator/src/common/components/ColorPicker/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:recent-colors="null"
77
:swatch-colors="null"
88
:show-primary-color-preview="false"
9-
:popup-props="{ attach: handleAttach }"
9+
:select-input-props="{ popupProps: { attach: handleAttach } }"
1010
@change="handleChange"
1111
v-bind="$attrs"
1212
/>

0 commit comments

Comments
 (0)