Commit b572dd6a by 黄秀兰

fixed stars devide bug on mac

parent 5ce59202
Pipeline #435 skipped in 0 seconds
...@@ -207,14 +207,14 @@ ...@@ -207,14 +207,14 @@
margin-bottom: 0.74666667rem; margin-bottom: 0.74666667rem;
} }
.photographer .photographer-info .stars { .photographer .photographer-info .stars {
position: relative;
margin-bottom: 0.69333333rem; margin-bottom: 0.69333333rem;
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: block;
} }
.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');
...@@ -224,10 +224,15 @@ ...@@ -224,10 +224,15 @@
background-image: url('../../dist/img/sprites-photographer.png'); background-image: url('../../dist/img/sprites-photographer.png');
background-position: 0px -50px; background-position: 0px -50px;
} }
.photographer .photographer-info .stars-info {
position: absolute;
left: 45%;
top: -15%;
}
.photographer .photographer-info .stars-txt { .photographer .photographer-info .stars-txt {
display: block;
color: #999; color: #999;
font-size: 0.69333333rem; font-size: 0.69333333rem;
margin-right: 0.56rem;
} }
.photographer .photographer-info .number { .photographer .photographer-info .number {
color: #666; color: #666;
...@@ -265,7 +270,7 @@ ...@@ -265,7 +270,7 @@
color: #666; color: #666;
} }
#tab .hd > div a.active { #tab .hd > div a.active {
padding-bottom: 0.56rem; padding-bottom: 0.58rem;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
} }
#tab .bd { #tab .bd {
......
...@@ -194,12 +194,12 @@ ...@@ -194,12 +194,12 @@
.px1rem(margin-bottom, 14); .px1rem(margin-bottom, 14);
} }
.stars { .stars {
position: relative;
.px1rem(margin-bottom, 13); .px1rem(margin-bottom, 13);
line-height: 0;
.stars-info, .stars-level { .stars-info, .stars-level {
width: 100px; width: 100px;
height: 16px; height: 16px;
display: inline-block; display: block;
} }
.stars-info { .stars-info {
background-image: url('../../dist/img/sprites-photographer.png'); background-image: url('../../dist/img/sprites-photographer.png');
...@@ -210,10 +210,15 @@ ...@@ -210,10 +210,15 @@
background-position: 0px -50px; background-position: 0px -50px;
} }
} }
.stars-info {
position: absolute;
left: 45%;
top: -15%;
}
.stars-txt { .stars-txt {
display: block;
color: #999; color: #999;
.px1rem(font-size, 13); .px1rem(font-size, 13);
.px1rem(margin-right, 10.5);
} }
.number { .number {
color: #666; color: #666;
...@@ -243,7 +248,7 @@ ...@@ -243,7 +248,7 @@
color: #666; color: #666;
} }
> div a.active { > div a.active {
.px1rem(padding-bottom, 10.5); .px1rem(padding-bottom, 10.875);
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
} }
} }
......
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