Oli8 / spaper

PaperCSS components for Svelte
https://oli8.github.io/spaper/
MIT License
199 stars 9 forks source link

<Input /> does not work inside a <Tab> #15

Closed SumitBando closed 2 years ago

SumitBando commented 2 years ago

This is due to _tabs.scss: line 9: .tabs input { display: none; }

Sample:

SumitBando commented 2 years ago

This can be overridden in the using component with

However, other styles from the Tabs seems to be leaking into the component, leading to alignment issues

Oli8 commented 2 years ago

This can be overridden in the using component with

However, other styles from the Tabs seems to be leaking into the component, leading to alignment issues

Hey @SumitBando, could you describe those alignment issues or provide a screenshot ?
I'll add the fix regarding inputs display in the next release, thanks for reporting it.

EDIT: Ok now that I've added a label I see what you're talking about :)

Oli8 commented 2 years ago

Fixed in v0.2.5