1
0
Fork 0
mirror of synced 2024-09-15 08:47:37 +12:00

Multiple style fixes

This commit is contained in:
Andrew Kingston 2024-04-05 12:16:42 +01:00
parent 685ec5e744
commit dfa772701d
3 changed files with 5 additions and 6 deletions

View file

@ -28,6 +28,8 @@
} }
</script> </script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div <div
bind:this={anchor} bind:this={anchor}
class:is-disabled={disabled} class:is-disabled={disabled}

View file

@ -148,9 +148,7 @@
on:close={onClose} on:close={onClose}
{anchor} {anchor}
portalTarget={appendTo} portalTarget={appendTo}
maxHeight={374} {align}
maxWidth={296}
align="left"
> >
{#if isOpen} {#if isOpen}
<div class="date-time-popover"> <div class="date-time-popover">

View file

@ -61,9 +61,7 @@
<div class="container"> <div class="container">
<div class="value"> <div class="value">
{#if value} {displayValue}
{displayValue}
{/if}
</div> </div>
{#if editable} {#if editable}
<Icon name="Calendar" /> <Icon name="Calendar" />
@ -103,6 +101,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
line-height: 20px; line-height: 20px;
height: 20px;
} }
.picker { .picker {
position: absolute; position: absolute;