Coder Social home page Coder Social logo

Comments (5)

lbm-trentm avatar lbm-trentm commented on August 20, 2024 4

@Chiyaoching - Typo in your workaround.

.sweet-modal .sweet-title { display: flex; align-item:center; }

Although that doesn't work for me. I found the only way was to set the line height of the h2

.sweet-modal .sweet-title > h2 { line-height: 64px; }

from sweet-modal-vue.

bluefirex avatar bluefirex commented on August 20, 2024

Can anyone of you provide a small example project where this happens? We had this issue before but only switched between "fixes" and I'd like to fix it once and for all 🙃

from sweet-modal-vue.

dokudoki avatar dokudoki commented on August 20, 2024

I'm using with bootstrap and it have similar issue. My workaround similar to @bluefirex

.sweet-modal .sweet-title > h2 { line-height: inherit; }

from sweet-modal-vue.

juanvillegas avatar juanvillegas commented on August 20, 2024

This hasn't still be fixed right? I was just facing the same issue. The problem I think comes from the styles not being applied to the h2 inside .sweet-title, but rather to the .sweet-title div. So if the website defines styles for h2, those override sweet modal's.

from sweet-modal-vue.

Symbolk avatar Symbolk commented on August 20, 2024

Same issue, and it look like this:
image

from sweet-modal-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.