mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] SwitchCell: text vertical align (#852)
This commit is contained in:
parent
9367968a82
commit
bd8dd90a28
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user