ElementUi + Vue 使用技巧

福尔摩斯对我笑 2019-11-13 13154 次 13029条

弹出框居中

不建议使用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;
    }
  }
}

标签: 无

非特殊说明,本博所有文章均为博主原创。

上一篇
头像也是LOGO
未来博客 博主大人
到了这个年纪,不应该再彷徨!

发表评论



 


已有 13029 条评论 1


  1. Pool table assembly service

    I like what you guys are up too. Such intelligent work and reporting! Carry on the superb works guys I¡¦ve incorporated you guys to my blogroll. I think it will improve the value of my website 🙂

    回复 2019年12月9日
  2. i99BET

    The very next time I read a blog, Hopefully it won’t fail me just as much as this particular one. I mean, Yes, it was my choice to read through, nonetheless I truly believed you’d have something useful to talk about. All I hear is a bunch of crying about something you could fix if you weren’t too busy searching for attention.

    回复 2019年12月9日
  3. Tractor Workshop Manuals

    I’d need to check with you here. Which just isn’t something I generally do! I delight in reading a post that may make persons think. Also, thanks for allowing me to comment!

    回复 2019年12月9日
  4. i99BET

    This is a topic that is near to my heart… Cheers! Where are your contact details though?

    回复 2019年12月9日
  5. Furniture assembly help

    Nice blog right here! Also your website a lot up very fast! What host are you using? Can I get your associate link to your host? I want my site loaded up as quickly as yours lol

    回复 2019年12月8日
  6. Furniture installers

    I have learn several excellent stuff here. Certainly worth bookmarking for revisiting. I wonder how so much effort you set to create any such excellent informative site.

    回复 2019年12月8日
  7. UFABET

    This blog was… how do you say it? Relevant!! Finally I have found something that helped me. Thanks a lot.

    回复 2019年12月8日
  8. HQ office installers

    I simply wanted to thank you so much yet again. I do not know the things I could possibly have created without those advice documented by you about such a field. Certainly was a challenging setting in my circumstances, nevertheless spending time with your specialized technique you resolved that forced me to jump over happiness. I’m just thankful for this assistance and in addition wish you know what a great job you’re carrying out educating the mediocre ones using your blog. More than likely you haven’t encountered any of us.

    回复 2019年12月7日
  9. Furniture installation team

    With havin so much content do you ever run into any problems of plagorism or copyright violation? My site has a lot of completely unique content I’ve either written myself or outsourced but it appears a lot of it is popping it up all over the internet without my agreement. Do you know any ways to help prevent content from being stolen? I’d really appreciate it.

    回复 2019年12月7日
  10. ตู้ม้าออนไลน์ ฟรี เครดิต

    My brother suggested I might like this web site. He was entirely right. This post actually made my day. You cann’t imagine simply how much time I had spent for this info! Thanks!

    回复 2019年12月7日
  11. 해외축구중계

    Its such as you read my mind! You appear to know so much about this, like you wrote the guide in it or something. I think that you simply can do with a few to power the message home a bit, but other than that, that is excellent blog. A fantastic read. I will certainly be back.

    回复 2019年12月7日
  12. ultimate installation

    I’ve been browsing on-line greater than 3 hours these days, yet I never discovered any attention-grabbing article like yours. It’s beautiful price enough for me. Personally, if all website owners and bloggers made good content material as you probably did, the internet will be much more helpful than ever before.

    回复 2019年12月6日
  13. graphic design

    What’s Happening i am new to this, I stumbled upon this I have found It absolutely helpful and it has helped me out loads. I hope to contribute & aid other users like its helped me. Good job.

    回复 2019年12月6日
  14. udaipur escorts

    There are some fascinating time limits on this article but I don’t know if I see all of them heart to heart. There is some validity but I’ll take maintain opinion till I look into it further. Good article , thanks and we want extra! Added to FeedBurner as nicely

    回复 2019年12月6日
  15. togel online

    hello!,I like your writing so much! share we communicate more about your article on AOL? I require a specialist on this area to solve my problem. May be that’s you! Looking forward to see you.

    回复 2019年12月6日
  16. i99bet

    Hi, I do believe this is a great web site. I stumbledupon it 😉 I will return yet again since i have book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide others.

    回复 2019年12月4日
  17. golden goose sneakers

    Good post. I learn one thing tougher on completely different blogs everyday. It can all the time be stimulating to read content material from other writers and observe a bit of one thing from their store. I抎 favor to make use of some with the content on my blog whether you don抰 mind. Natually I抣l provide you with a hyperlink on your web blog. Thanks for sharing.

    回复 2019年12月4日
  18. i99bet

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

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

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

    回复 2019年12月2日
  20. 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日
  21. 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日
  22. Truman Christenbury

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

    回复 2019年11月29日
  23. 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日
  24. 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日
  25. 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日
  26. 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日
  27. 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日