Showing
1 changed file
with
11 additions
and
6 deletions
@@ -40,21 +40,26 @@ | @@ -40,21 +40,26 @@ | ||
40 | } | 40 | } |
41 | .detail { | 41 | .detail { |
42 | .material-item{ | 42 | .material-item{ |
43 | + position: relative; | ||
43 | min-height: pxToRem(136px); | 44 | min-height: pxToRem(136px); |
44 | margin: pxToRem(10px) 0; | 45 | margin: pxToRem(10px) 0; |
46 | + text-align: center; | ||
47 | + | ||
45 | // width: 100%; | 48 | // width: 100%; |
46 | - border-bottom:1px solid $borderC; | 49 | + // border-bottom:1px solid $borderC; |
47 | img { | 50 | img { |
48 | - display: block; | ||
49 | - overflow: hidden; | 51 | + position:absolute; |
52 | + top:0; | ||
53 | + bottom:0; | ||
54 | + left:0; | ||
55 | + margin:auto; | ||
50 | width: pxToRem(90px); | 56 | width: pxToRem(90px); |
51 | - height: pxToRem(120px); | 57 | + height: auto; |
52 | padding-right: pxToRem(20px); | 58 | padding-right: pxToRem(20px); |
53 | - float: left; | ||
54 | } | 59 | } |
55 | .material-desc { | 60 | .material-desc { |
61 | + padding-left:pxToRem(120px); | ||
56 | font-size: pxToRem(24px); | 62 | font-size: pxToRem(24px); |
57 | - overflow: hidden; | ||
58 | } | 63 | } |
59 | &:last-child{ | 64 | &:last-child{ |
60 | border-bottom: none; | 65 | border-bottom: none; |
-
Please register or login to post a comment