We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.9.3
https://stackblitz.com/edit/yo4rvx?file=src%2Fdemo.vue
同时使用 prefix/suffix 和 size 属性:
prefix
suffix
size
<t-input v-model="count" size="small" label="价格:" type="number" suffix="元" />
prefix/suffix 字体大小对齐
实际渲染时 .t-input.t-size-s 定义的 font-size 值被 .t-input.t-input--prefix > .t-input__prefix 覆盖:
.t-input.t-size-s
font-size
.t-input.t-input--prefix > .t-input__prefix
Vue 2.x
Chrome(124.0.6367.158)
Windows 11
No response
The text was updated successfully, but these errors were encountered:
👋 @fython,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
.t-input.t-input--prefix > .t-input__prefix 是否不需要单独定义 font-size?
确实可以去掉 应该是没必要的 这个PR一起处理下? https://github.com/Tencent/tdesign-common/pull/1793/files
fix(input): remove font-size overrides in prefix/suffix style mixin
f413e27
resolve Tencent/tdesign-vue#3171
Tencent/tdesign-common@ae308e9
No branches or pull requests
tdesign-vue 版本
1.9.3
重现链接
https://stackblitz.com/edit/yo4rvx?file=src%2Fdemo.vue
重现步骤
同时使用
prefix
/suffix
和size
属性:期望结果
prefix/suffix 字体大小对齐
实际结果
实际渲染时
.t-input.t-size-s
定义的font-size
值被.t-input.t-input--prefix > .t-input__prefix
覆盖:框架版本
Vue 2.x
浏览器版本
Chrome(124.0.6367.158)
系统版本
Windows 11
Node版本
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: