Giter VIP home page Giter VIP logo

Comments (4)

jackherbert avatar jackherbert commented on June 24, 2024

Unfortunately, Bootcards currently relies on some specific markup structure like this – it was intended to avoid a sea of custom classnames – but I agree that lines like this are particularly obtrusive.

Have you tried a version of bootcards.scss with the problematic line(s) removed?

from bootcards.

teajaymars avatar teajaymars commented on June 24, 2024

Yes I see. The issue is that I can't identify which lines are problematic until a customer emails me to complain about a glitch. I maintain five Bootstrap+WordPress sites, all with custom designs by external designers. We run the system, the customer supplies the design. Unless I want to go through everything (five times) to QA it in a variety of browsers -- I can't permit lines like:

.table > tfoot > tr > td:first-child {
padding-left: 15px;
}

Because I've no idea what that will break. But it's bound to break something... it depends what each site's designer has built.

I think my options are:

  • Fork bootcards, forcibly namespacing everything (expensive), so I can selectively include it
  • Wait for Bootstrap 4 (slow) and migrate and QA (expensive)
  • Just rewrite the functionality I need as required (arrrgh)

Anyway thanks for looking at this.

from bootcards.

jackherbert avatar jackherbert commented on June 24, 2024

I hate to say it, but you might be best off forking Bootcards. We have other projects that rely on a few of these quirks, and a new version isn't imminent

Sorry I can't be more help!

from bootcards.

teajaymars avatar teajaymars commented on June 24, 2024

No worries. Thanks!

from bootcards.

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.