Git Product home page Git Product logo

Comments (5)

netnr avatar netnr commented on July 18, 2024 1

样式高度设置 important ,增加本地适配难度(如不好全局配置样式覆盖),或可以考虑去除样式高度权重

from selectpage.

TerryZ avatar TerryZ commented on July 18, 2024

针对具体平台的兼容处理,建议使用本地化的样式进行适配,通用组件没这个必要也没这个能力对某个具体的 UI 平台做适配

from selectpage.

TerryZ avatar TerryZ commented on July 18, 2024

实际上样式文件里的多处 important 正是当时适配 bootstrap2 与 bootstrap3 的历史遗留产物

from selectpage.

netnr avatar netnr commented on July 18, 2024

是的,不过你上下文矛盾了

from selectpage.

TerryZ avatar TerryZ commented on July 18, 2024

不矛盾,正是做过适配,后来有更多的平台也提出适配的需求,才发现这种适配是没意义的

from selectpage.

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.