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; + } + } }