Commit 5ce59202 by 黄秀兰

fixed stars devide bug

parent 21621432
Pipeline #424 skipped in 0 seconds
...@@ -208,14 +208,13 @@ ...@@ -208,14 +208,13 @@
} }
.photographer .photographer-info .stars { .photographer .photographer-info .stars {
margin-bottom: 0.69333333rem; margin-bottom: 0.69333333rem;
line-height: 1; line-height: 0;
} }
.photographer .photographer-info .stars .stars-info, .photographer .photographer-info .stars .stars-info,
.photographer .photographer-info .stars .stars-level { .photographer .photographer-info .stars .stars-level {
width: 100px; width: 100px;
height: 16px; height: 16px;
display: inline-block; display: inline-block;
margin: auto;
} }
.photographer .photographer-info .stars .stars-info { .photographer .photographer-info .stars .stars-info {
background-image: url('../../dist/img/sprites-photographer.png'); background-image: url('../../dist/img/sprites-photographer.png');
...@@ -352,7 +351,7 @@ ...@@ -352,7 +351,7 @@
.tab-review .stars { .tab-review .stars {
float: left; float: left;
} }
.tab-review .stars stars-info, .tab-review .stars .stars-info,
.tab-review .stars .stars-level { .tab-review .stars .stars-level {
width: 100px; width: 100px;
height: 16px; height: 16px;
......
...@@ -195,12 +195,11 @@ ...@@ -195,12 +195,11 @@
} }
.stars { .stars {
.px1rem(margin-bottom, 13); .px1rem(margin-bottom, 13);
line-height: 1; line-height: 0;
.stars-info, .stars-level { .stars-info, .stars-level {
width: 100px; width: 100px;
height: 16px; height: 16px;
display: inline-block; display: inline-block;
margin: auto;
} }
.stars-info { .stars-info {
background-image: url('../../dist/img/sprites-photographer.png'); background-image: url('../../dist/img/sprites-photographer.png');
...@@ -311,7 +310,7 @@ ...@@ -311,7 +310,7 @@
} }
.stars { .stars {
float: left; float: left;
stars-info, .stars-level { .stars-info, .stars-level {
width: 100px; width: 100px;
height: 16px; height: 16px;
display: block; display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment