From 1182eafef3101839e88251ed13be1c43179c1193 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 11 Dec 2017 10:40:34 +0800 Subject: [PATCH] [Doc] update checkbox & radio demo (#406) --- docs/demos/views/checkbox.vue | 9 +++++++++ docs/demos/views/radio.vue | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/demos/views/checkbox.vue b/docs/demos/views/checkbox.vue index 69e80422d..392ff29fa 100644 --- a/docs/demos/views/checkbox.vue +++ b/docs/demos/views/checkbox.vue @@ -75,6 +75,15 @@ export default { .van-checkbox { margin: 0; } + + .van-checkbox__input { + float: right; + position: static; + } + + span { + margin: 0; + } } } diff --git a/docs/demos/views/radio.vue b/docs/demos/views/radio.vue index 4dbc189ce..a7543028b 100644 --- a/docs/demos/views/radio.vue +++ b/docs/demos/views/radio.vue @@ -75,5 +75,16 @@ export default { margin: 10px 0; } } + + .van-cell { + .van-radio__input { + float: right; + position: static; + } + + .van-radio__label { + margin: 0; + } + } }