refactor(Sku): header image (#6614)

This commit is contained in:
neverland
2020-06-26 21:04:31 +08:00
committed by GitHub
parent 01e9cde2b8
commit c93319a4c0
3 changed files with 30 additions and 35 deletions
+2 -14
View File
@@ -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 {