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

Compatibility issue with Vuetify (slides shift right, unexpected margin?) #204

Open
lejungdu opened this issue Feb 4, 2021 · 0 comments

Comments

@lejungdu
Copy link

lejungdu commented Feb 4, 2021

Describe the bug
Using Hooper with Vuetify, will produce undesirable compatibility, margin on left of each slide.

Git repo created to show problem (URL below)
https://github.com/lejungdu/vuetify-hooper-problem

To Reproduce
Steps to reproduce the behavior:

  1. Install vue
vue create project-name
  1. Install vuetify
vue add vuetify
  1. Install hooper
npm install hooper
  1. Start using hooper
<template>
  <hooper>
    <slide>
      slide 1
    </slide>
    <slide>
      slide 2
    </slide>
  </hooper>
</template>

<script>
import { Hooper, Slide } from 'hooper';
import 'hooper/dist/hooper.css';

export default {
  name: 'App',
  components: {
    Hooper,
    Slide
  }
};
</script>

<style scoped>
  .hooper-slide {
    background-color: #62caaa;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 2px solid #fff;
    font-size: 30px;
    border-radius: 10px;
  }
</style>

Expected behavior
The slides are not supposed to be shifted right, but they do shift right when vuetify is installed.

Screenshots
Screen Shot 2021-02-04 at 14 52 54 (2)
Uploading Screen Shot 2021-02-04 at 14.59.30 (2).png…

Desktop (please complete the following information):

  • OS: macOS Catalina Version 10.15.7
  • Browser: chrome
  • Version [e.g. 0.0.x]

Additional context
Any help is appreciated, thanks.

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