ElementUi + Vue 使用技巧

福尔摩斯对我笑 2019-11-13 32878 次 14312条


不建议使用transform: translate(-50%, -50%),但容器的高度为奇数时会导致文字虚幻的问题。

.el-dialog__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  .el-dialog {
    transform: none;
    margin:0 !important;
    position: relative;
    transform: none;
    max-height: calc(100% - 30px);
    max-width: 99%;
    > .el-dialog__body {
      overflow: auto;
      color: #666666;

标签: 无


未来博客 博主大人



已有 14312 条评论 1

  1. i99bet

    I love it when people come together and share views. Great blog, stick with it.

    回复 2019年12月3日
  2. John Deere Service Manuals

    grand central stations are really built with some great architectural design, they are very impressive*

    回复 2019年12月2日
  3. cheap jordans

    Hey! I simply want to give an enormous thumbs up for the nice data you will have right here on this post. I can be coming back to your weblog for extra soon.

    回复 2019年12月1日
  4. Pozycjonowanie Stron Gorzów

    You can definitely see your expertise in the paintings you write. The world hopes for more passionate writers like you who are not afraid to say how they believe. All the time go after your heart. “If you feel yourself falling, let go and glide.” by Steffen Francisco.

    回复 2019年11月30日
  5. Truman Christenbury

    of course, diamond rings would always be the best type of wedding rings that you can give your wife”

    回复 2019年11月29日
  6. jordan 11

    That is the fitting blog for anyone who wants to search out out about this topic. You notice so much its almost arduous to argue with you (not that I actually would need匟aHa). You positively put a new spin on a topic thats been written about for years. Nice stuff, simply great!

    回复 2019年11月28日
  7. Francie Vocu

    Thank you for every one of your work on this blog. My mother enjoys going through investigation and it’s really easy to see why. My partner and i learn all about the powerful way you offer informative solutions via this website and invigorate participation from other ones on this subject matter then our child is actually studying a great deal. Have fun with the rest of the year. You’re the one conducting a fantastic job.

    回复 2019年11月28日
  8. converse

    Youre so cool! I dont suppose Ive learn anything like this before. So good to find anyone with some original thoughts on this subject. realy thanks for starting this up. this web site is something that is needed on the net, someone with slightly originality. useful job for bringing one thing new to the internet!

    回复 2019年11月27日
  9. article

    I simply want to mention I am beginner to weblog and absolutely liked your web site. Likely I’m going to bookmark your blog . You amazingly come with awesome stories. Appreciate it for sharing your web-site.

    回复 2019年11月24日
  10. supreme hoodie

    Spot on with this write-up, I really think this website wants way more consideration. I抣l most likely be again to read rather more, thanks for that info.

    回复 2019年11月18日