refactor(Sku): header image (#6614)
This commit is contained in:
+2
-14
@@ -29,23 +29,11 @@
|
||||
margin: 0 @padding-md;
|
||||
|
||||
&__img-wrap {
|
||||
position: relative;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
margin: @padding-sm @padding-sm @padding-sm 0;
|
||||
background: @background-color;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
margin: auto;
|
||||
border-radius: @border-radius-md;
|
||||
}
|
||||
overflow: hidden;
|
||||
border-radius: @border-radius-md;
|
||||
}
|
||||
|
||||
&__goods-info {
|
||||
|
||||
Reference in New Issue
Block a user