mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
[bugfix] SwitchCell: text vertical align (#852)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<cell :title="title" :border="border" class="van-switch-cell">
|
||||
<cell center :title="title" :border="border" class="van-switch-cell">
|
||||
<van-switch v-bind="$props" @input="$emit('input', $event)" />
|
||||
</cell>
|
||||
</template>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
@import './common/var.css';
|
||||
|
||||
.van-switch-cell {
|
||||
.van-cell__title {
|
||||
vertical-align: middle;
|
||||
.van-cell__text {
|
||||
vertical-align: baseline;;
|
||||
}
|
||||
|
||||
.van-switch {
|
||||
|
Reference in New Issue
Block a user