Showing
1 changed file
with
4 additions
and
3 deletions
@@ -62,17 +62,18 @@ | @@ -62,17 +62,18 @@ | ||
62 | } | 62 | } |
63 | 63 | ||
64 | .img-box { | 64 | .img-box { |
65 | - height: 100%; | 65 | + width: 100%; |
66 | height:320rem / $pxConvertRem; | 66 | height:320rem / $pxConvertRem; |
67 | + overflow: hidden; | ||
67 | text-align: center; | 68 | text-align: center; |
68 | position: relative; | 69 | position: relative; |
69 | - border: none; | ||
70 | 70 | ||
71 | img { | 71 | img { |
72 | width: 100%; | 72 | width: 100%; |
73 | - height: 100%; | 73 | + height: 320rem / $pxConvertRem; |
74 | vertical-align: middle; | 74 | vertical-align: middle; |
75 | border: none; | 75 | border: none; |
76 | + outline: none; | ||
76 | } | 77 | } |
77 | } | 78 | } |
78 | 79 |
-
Please register or login to post a comment