mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
fix-1749- Longer labels for TimePicker
This commit is contained in:
parent
0b4f19c87e
commit
b35a8c41e1
4 changed files with 364 additions and 238 deletions
|
@ -81,6 +81,7 @@
|
|||
</slot>
|
||||
</label>
|
||||
{/if}
|
||||
<div class="time-picker-inputs-wrapper">
|
||||
<input
|
||||
bind:this="{ref}"
|
||||
bind:value
|
||||
|
@ -105,10 +106,18 @@
|
|||
on:blur
|
||||
on:paste
|
||||
/>
|
||||
</div>
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{#if invalid}
|
||||
<div class:bx--form-requirement="{true}">{invalidText}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.time-picker-inputs-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue