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 {
margin-bottom: var(--van-padding-sm);
}
}
.notice-swipe {
height: 40px;
line-height: 40px;
.notice-swipe {
height: 40px;
line-height: 40px;
}
}
</style>

View File

@ -148,24 +148,22 @@ const reset = () => {
</template>
<style lang="less">
.van-button {
margin-left: var(--van-padding-md);
}
.demo-rolling-text {
.van-button {
margin-left: var(--van-padding-md);
}
.van-rolling-text {
margin-left: var(--van-padding-md);
}
.van-rolling-text {
margin-left: var(--van-padding-md);
}
.van-grid {
margin-left: var(--van-padding-md);
}
.my-rolling-text {
--van-rolling-text-background: #1989fa;
--van-rolling-text-color: white;
--van-rolling-text-font-size: 24px;
--van-rolling-text-gap: 6px;
--van-rolling-text-item-border-radius: 5px;
--van-rolling-text-item-width: 40px;
.my-rolling-text {
--van-rolling-text-background: #1989fa;
--van-rolling-text-color: white;
--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>