vant/packages/vant-css/src/image-preview.css
neverland d7cee6e8f4 [new feature] ImagePreview reconstruct (#201)
* [Document] add english document of Checkbox

* [Document] add english document of Field

* [Document] add english document of NumberKeyboard

* [bugfix] NumberKeyboard should not dispaly title when title is empty

* [Document] add english document of PasswordInput

* [Document] add english document of Radio

* [document] add english document of Switch

* [bugfix] remove redundent styles in english document

* [Document] fix details

* fix Switch test cases

* [bugfix] Swipe shouid reinitialize when item changes

* [new feature] ImagePreview reconstruct
2017-10-12 20:26:28 -05:00

25 lines
318 B
CSS

@import './common/var.css';
.van-image-preview {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: fixed;
&__image {
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
max-width: 100%;
max-height: 100%;
position: absolute;
}
.van-swipe {
height: 100%;
}
}