Browse Source

一倍图不需要background-size:contain

master
dailer 6 years ago
parent
commit
6a5ef86f22
  1. 1
      src/less/image.less

1
src/less/image.less

@ -6,7 +6,6 @@
.imagePath(@path, @top:center, @left:center, @repeat: no-repeat) when not (@path = none) {
background: url('@{imageUrl}@{path}') @repeat @left @top;
background-size: contain;
}
.image2xPath(@path, @top:center, @left:center, @repeat: no-repeat) when not (@path = none) {

Loading…
Cancel
Save