Showing
2 changed files
with
9 additions
and
1 deletions
@@ -99,7 +99,11 @@ function thumbTouchEvt(e) { | @@ -99,7 +99,11 @@ function thumbTouchEvt(e) { | ||
99 | } | 99 | } |
100 | 100 | ||
101 | if (isIphone) { | 101 | if (isIphone) { |
102 | - $('#wrapper').addClass('ios'); | 102 | + if ($('.yoho-header').length > 0) { |
103 | + $('#wrapper').addClass('ios has-head'); | ||
104 | + } else { | ||
105 | + $('#wrapper').addClass('ios'); | ||
106 | + } | ||
103 | } | 107 | } |
104 | 108 | ||
105 | ellipsis.init(); | 109 | ellipsis.init(); |
@@ -35,6 +35,10 @@ $clothes: sprite-map("guang/clothes/*.png"); | @@ -35,6 +35,10 @@ $clothes: sprite-map("guang/clothes/*.png"); | ||
35 | left: 0; | 35 | left: 0; |
36 | right: 0; | 36 | right: 0; |
37 | overflow: hidden; | 37 | overflow: hidden; |
38 | + | ||
39 | + &.has-head { | ||
40 | + top: 90rem / $pxConvertRem; | ||
41 | + } | ||
38 | } | 42 | } |
39 | 43 | ||
40 | .author { | 44 | .author { |
-
Please register or login to post a comment