Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

日期选择器组件面板样式不能重写 #4864

Closed
Sumaomaoer opened this issue Dec 24, 2024 · 3 comments
Closed

日期选择器组件面板样式不能重写 #4864

Sumaomaoer opened this issue Dec 24, 2024 · 3 comments
Labels
usage the issue about component usage

Comments

@Sumaomaoer
Copy link

tdesign-vue 版本

重视

重现链接

No response

重现步骤

vue3+less项目中,时间选择器组件选中时间框错位,且样式不能覆盖重写
:deep(.date .t-time-picker__panel-body-active-mask) {
top: 43%!important;
}
image

期望结果

开发者可以重写样式

实际结果

开发者不能重写样式

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

18.20.4

补充说明

form表单中

Copy link
Contributor

👋 @Sumaomaoer,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn
Copy link
Collaborator

uyarn commented Dec 24, 2024

这里是因为teleport的原因 参考popup这边的FAQ 你需要使用这里介绍的两种方式来覆盖样式 否则无法实现样式穿透

@uyarn uyarn transferred this issue from Tencent/tdesign-vue Dec 24, 2024
@uyarn uyarn added the usage the issue about component usage label Dec 24, 2024
@uyarn uyarn closed this as completed Dec 24, 2024
Copy link
Contributor

👋 @Sumaomaoer,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage the issue about component usage
Projects
None yet
Development

No branches or pull requests

2 participants