Open stwflyfox opened 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: The height value setting in the calendar view is invalid
@stwflyfox 可以通过覆盖样式解决。
.tiny-calendar-view .tiny-calendar-view-month__main .main-container>ul>li {
height: 50px; // 默认是 80px
}
vue项目中可以使用 :deep()
做样式穿透:
.my-calendar-view.tiny-calendar-view :deep(.tiny-calendar-view-month__main .main-container>ul>li) {
height: 50px; // 默认是 80px
}
效果如下:
示例代码可参考:
Version
latest
Vue Version
vue3
Link to minimal reproduction
none
Step to reproduce
What is expected
No response
What is actually happening
No response
What is your project name
TinyVue
Any additional comments (optional)
No response