|
|
@ -18,9 +18,9 @@ |
|
|
|
|
|
|
|
|
<div class="container" bind:this={anchor}> |
|
|
<div class="container" bind:this={anchor}> |
|
|
<Input {...inputProps} bind:value /> |
|
|
<Input {...inputProps} bind:value /> |
|
|
<button on:click={popover.show}> |
|
|
<div class="icon" on:click={popover.show}> |
|
|
<Icon name="edit" /> |
|
|
<Icon name="edit" /> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<GenericBindingPopover |
|
|
<GenericBindingPopover |
|
|
{anchor} |
|
|
{anchor} |
|
|
@ -34,25 +34,18 @@ |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
button { |
|
|
.icon { |
|
|
|
|
|
right: 2px; |
|
|
|
|
|
top: 2px; |
|
|
|
|
|
bottom: 2px; |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
background: none; |
|
|
align-items: center; |
|
|
border: none; |
|
|
display: flex; |
|
|
border-radius: 50%; |
|
|
box-sizing: border-box; |
|
|
height: 24px; |
|
|
padding-left: var(--spacing-xs); |
|
|
width: 24px; |
|
|
border-left: 1px solid var(--grey-4); |
|
|
background: var(--grey-4); |
|
|
background-color: var(--grey-2); |
|
|
right: var(--spacing-s); |
|
|
border-top-right-radius: var(--border-radius-m); |
|
|
bottom: 5px; |
|
|
border-bottom-right-radius: var(--border-radius-m); |
|
|
} |
|
|
|
|
|
button:hover { |
|
|
|
|
|
background: var(--grey-5); |
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
} |
|
|
|
|
|
button :global(svg) { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
top: 50%; |
|
|
|
|
|
left: 50%; |
|
|
|
|
|
transform: translateX(-50%) translateY(-50%) !important; |
|
|
|
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|