Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于css代码重复的问题,建议修正下 #99

Closed
moxuandi opened this issue Jan 25, 2018 · 1 comment
Closed

关于css代码重复的问题,建议修正下 #99

moxuandi opened this issue Jan 25, 2018 · 1 comment

Comments

@moxuandi
Copy link

例如视图-卡片部分,cards.lesscards.reveal.less中都有关于.card:hover > .card-reveal{top:0;}这一段的定义,结果css文件中就有了两端这样的代码。
再例如,视图-列表视图-评论基础-排版中关于清楚浮动部分,下面这段代码页出现了两次:

.items .item-content:before,.items .item-content:after{display:table;content:" ";}
.items .item-content:after{clear:both;}
.items .item-content:before,.items .item-content:after{display:table;content:" ";}
.items .item-content:after{clear:both;}

.comment:before,.comment:after{display:table;content:" ";}
.comment:after{clear:both;}
.comment:before,.comment:after{display:table;content:" ";}
.comment:after{clear:both;}

.dl-inline:before,.dl-inline:after{display:table;content:" ";}
.dl-inline:after{clear:both;}
.dl-inline:before,.dl-inline:after{display:table;content:" ";}
.dl-inline:after{clear:both;}
catouse added a commit that referenced this issue Jan 29, 2018
@catouse
Copy link
Collaborator

catouse commented Jan 29, 2018

已解决。谢谢反馈!

@catouse catouse closed this as completed Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants