Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with flex-direction: row #37

Open
raykudo opened this issue May 12, 2020 · 0 comments
Open

Doesn't work with flex-direction: row #37

raykudo opened this issue May 12, 2020 · 0 comments

Comments

@raykudo
Copy link

raykudo commented May 12, 2020

I'm using Laravel mix with vue-content-loading": "^1.6.0 installed

<style scoped>
.flex-row {
  display: flex;
  flex-direction: row;
}
</style>

<template>
  <div class="flex-row">
    <vue-content-loading :width="300" :height="100">
      <circle cx="30" cy="30" r="30" />
      <rect x="75" y="13" rx="4" ry="4" width="100" height="15" />
      <rect x="75" y="37" rx="4" ry="4" width="50" height="10" />
    </vue-content-loading>
  </div>
</template>

<script>
  import VueContentLoading from 'vue-content-loading';
  export default {
    components: {
      VueContentLoading,
    }
  }
</script>

Nothing is rendered if I put vue-content-loading inside flex-direction: row styled parent element. It works with flex-direction: column

Any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant