Giter VIP home page Giter VIP logo

Comments (2)

driesvints avatar driesvints commented on July 25, 2024 1

I agree with @calebporzio that it's probably best to let this be tackled in user land. Opinions might differ here on what's best to do.

from blade-icons.

calebporzio avatar calebporzio commented on July 25, 2024

I personally add something like this typically to blade-svg's config file:

'class' => 'svg',

svg is a custom CSS class I pass around that takes care of sizing:

.svg {
    height: 1em;
    margin-top: -4px;
    pointer-events:none;
    vertical-align: middle;
    fill: currentColor;
    width: 1em;
}

Are you proposing adding a helpful note to the README or something else? I agree it's a common hiccup for people using this package. But I'm not sure it's the job of this package to remedy. Open though.

from blade-icons.

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.