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

Is there anyway to stop the content(text) leak out of the widget #775

Open
fuwei007 opened this issue Sep 12, 2023 · 1 comment
Open

Is there anyway to stop the content(text) leak out of the widget #775

fuwei007 opened this issue Sep 12, 2023 · 1 comment

Comments

@fuwei007
Copy link

If you go to the demo page
https://jbaysolutions.github.io/vue-grid-layout/
resize the second widget. You will see

image

is there any property we could set to stop the content inside of box get out.

Thanks

Frank

@gwinnem
Copy link

gwinnem commented Oct 26, 2023

Hi @fuwei007
This is a css issue.
In my version I have the same issue when I add the title using:

  <span class="text">
    {{ itemTitle(item) }}
  </span>

And my text css class is:

.text {
  bottom: 0;
  font-size: 24px;
  height: 100%;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

So add some css magic to fix your issue.

Regards

Geirr Winnem

Link is to my Vue 3 version completely rewrite of this one here.

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

2 participants