novacbn / kahi-ui

Straight-forward Svelte UI for the Web
https://kahi-ui.nbn.dev
MIT License
188 stars 5 forks source link

<Stack orientation="horizontal"> does not work #23

Closed samuelstroschein closed 3 years ago

samuelstroschein commented 3 years ago
<script>
    import { Stack } from '@kahi-ui/framework';
</script>

<Stack orientation="horizontal">
  <p>HI</p>
  <p>HOW ARE YOU</p>
  <p>?</p>
</Stack>
Screenshot 2021-08-07 at 15 18 35
novacbn commented 3 years ago

I did some quick tests in an application, the REPL, and the starter template. Seems to work fine.

Do you have the CSS loaded in your application via HTML or imports like described here?

#23-stack-does-not-work

samuelstroschein commented 3 years ago

Now that you ask, I am unsure. I did place the snippet in the root app.html file from SvelteKit when I first installed Kahi but I might have removed it before I tested the Stack component. Since it's working in the starter template, I assume I did in fact remove the CSS and will therefore close the issue.