Oli8 / spaper

PaperCSS components for Svelte

Home Page:https://oli8.github.io/spaper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

SumitBando opened this issue · comments

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

Sample:

This can be overridden in the using component with

<style> :global(.tabs input) { display: block; } </style>

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

This can be overridden in the using component with

<style> :global(.tabs input) { display: block; } </style>

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 :)

Fixed in v0.2.5