mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: improve style (#12024)
This commit is contained in:
parent
0d7a2c6b60
commit
edc1f5e7e7
@ -189,9 +189,10 @@ const t = useTranslate({
|
|||||||
&-row {
|
&-row {
|
||||||
margin-bottom: var(--van-padding-sm);
|
margin-bottom: var(--van-padding-sm);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
.notice-swipe {
|
.notice-swipe {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -148,24 +148,22 @@ const reset = () => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.van-button {
|
.demo-rolling-text {
|
||||||
margin-left: var(--van-padding-md);
|
.van-button {
|
||||||
}
|
margin-left: var(--van-padding-md);
|
||||||
|
}
|
||||||
|
|
||||||
.van-rolling-text {
|
.van-rolling-text {
|
||||||
margin-left: var(--van-padding-md);
|
margin-left: var(--van-padding-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
.van-grid {
|
.my-rolling-text {
|
||||||
margin-left: var(--van-padding-md);
|
--van-rolling-text-background: #1989fa;
|
||||||
}
|
--van-rolling-text-color: white;
|
||||||
|
--van-rolling-text-font-size: 24px;
|
||||||
.my-rolling-text {
|
--van-rolling-text-gap: 6px;
|
||||||
--van-rolling-text-background: #1989fa;
|
--van-rolling-text-item-border-radius: 5px;
|
||||||
--van-rolling-text-color: white;
|
--van-rolling-text-item-width: 40px;
|
||||||
--van-rolling-text-font-size: 24px;
|
}
|
||||||
--van-rolling-text-gap: 6px;
|
|
||||||
--van-rolling-text-item-border-radius: 5px;
|
|
||||||
--van-rolling-text-item-width: 40px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user