Giter Club home page Giter Club logo

nuxt-element-dashboard's Issues

static 文件夹的位置问题

  • 脚手架的 static 被放在 src 目录外,导致 nuxt 不能正常的将静态文件打包到dist中
  • nuxt 官方脚手架的目录结构是 static 与 pages 等目录平级的
    建议移动 static 到 src/static

全局box-sizing: border-box导致el-time-picker组件滚动错位

el-time-picker
image

检查发现错位原因是组件弹层的 .el-scrollbar__wrap 带有 box-sizing: border-box(从 global.less 里的全局设置继承)

解决办法

  1. 恢复 box-sizing
.el-time-pannel .el-scrollbar__wrap {
  box-sizing: initial;
}
  1. 调整偏移块高度(原为 80px)
.el-time-spinner__list::after, .el-time-spinner__list::before {
  height: 72px;
}

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.