docs: improve style (#12024)

This commit is contained in:
inottn 2023-06-24 20:32:40 +08:00 committed by GitHub
parent 0d7a2c6b60
commit edc1f5e7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 21 deletions

View File

@ -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>

View File

@ -148,6 +148,7 @@ const reset = () => {
</template> </template>
<style lang="less"> <style lang="less">
.demo-rolling-text {
.van-button { .van-button {
margin-left: var(--van-padding-md); margin-left: var(--van-padding-md);
} }
@ -156,10 +157,6 @@ const reset = () => {
margin-left: var(--van-padding-md); margin-left: var(--van-padding-md);
} }
.van-grid {
margin-left: var(--van-padding-md);
}
.my-rolling-text { .my-rolling-text {
--van-rolling-text-background: #1989fa; --van-rolling-text-background: #1989fa;
--van-rolling-text-color: white; --van-rolling-text-color: white;
@ -168,4 +165,5 @@ const reset = () => {
--van-rolling-text-item-border-radius: 5px; --van-rolling-text-item-border-radius: 5px;
--van-rolling-text-item-width: 40px; --van-rolling-text-item-width: 40px;
} }
}
</style> </style>