diff --git a/packages/builder/src/components/userInterface/ComponentDropdownMenu.svelte b/packages/builder/src/components/userInterface/ComponentDropdownMenu.svelte index 7d646d22d5..ec2122d6bf 100644 --- a/packages/builder/src/components/userInterface/ComponentDropdownMenu.svelte +++ b/packages/builder/src/components/userInterface/ComponentDropdownMenu.svelte @@ -1,5 +1,4 @@
{}}> - +
+ +
@@ -181,7 +180,7 @@ ul { list-style: none; padding: 0; - margin: var(--spacing-xs) 0; + margin: var(--spacing-s) 0; } li { @@ -190,44 +189,29 @@ font-size: var(--font-size-xs); color: var(--ink); padding: var(--spacing-s) var(--spacing-m); - margin: auto 0px; + margin: auto 0; align-items: center; cursor: pointer; } - - button { - border-style: none; - border-radius: 2px; - padding: 0; - background: transparent; - cursor: pointer; - color: var(--ink); - outline: none; - } - - li:hover { + li:not(.disabled):hover { background-color: var(--grey-2); } - li:active { color: var(--blue); } - - .item { - display: flex; - align-items: center; - font-size: 14px; - } - - .icon { + li i { margin-right: 8px; + font-size: var(--font-size-s); } - - .disabled { + li.disabled { color: var(--grey-4); cursor: default; } + .icon i { + font-size: 16px; + } + .hr-style { margin: 8px 0; color: var(--grey-4); diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte index d9c619fae3..bec42b7f4f 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchyChildren.svelte @@ -190,9 +190,9 @@ .item { display: grid; grid-template-columns: 1fr auto auto auto; - padding: 0px 5px 0px 15px; - margin: auto 0px; - border-radius: 5px; + padding: 0 var(--spacing-m); + margin: 0; + border-radius: var(--border-radius-m); height: 36px; align-items: center; } @@ -205,9 +205,6 @@ .actions { display: none; color: var(--ink); - padding: 0 5px; - width: 24px; - height: 24px; border-style: none; background: rgba(0, 0, 0, 0); cursor: pointer; diff --git a/packages/builder/src/components/userInterface/ScreenDropdownMenu.svelte b/packages/builder/src/components/userInterface/ScreenDropdownMenu.svelte index 01c114a569..f0e7360ca3 100644 --- a/packages/builder/src/components/userInterface/ScreenDropdownMenu.svelte +++ b/packages/builder/src/components/userInterface/ScreenDropdownMenu.svelte @@ -1,5 +1,4 @@ -
{}}> - - -