fix: add safe area bottom padding to DateTimePicker
Add bottom padding to DateTimePicker component to prevent content from being obscured by notches or home indicators on mobile devices. Uses CSS max() function to ensure minimum 0.75rem spacing while respecting device safe area insets.
This commit is contained in:
parent
a705a5ca26
commit
c772e3251a
|
|
@ -183,5 +183,6 @@
|
||||||
<button onclick={clear} class="text-sm text-danger hover:opacity-70">Clear date</button>
|
<button onclick={clear} class="text-sm text-danger hover:opacity-70">Clear date</button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
<div style="height: max(0.75rem, var(--safe-bottom))"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue