-
Notifications
You must be signed in to change notification settings - Fork 526
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
卡片下的header-style无效 #3297
Comments
@Glamours headerStyle 设计之初是为了控制整个标题的,有特殊样式需求可以通过标题插槽自定义,或 css 样式覆盖。 |
问题是放哪它都不生效,就下面这个官方示例,改变标题字号36px,毫无作用
|
一看你就不是前端,header-style 又不是 title-style, 它是针对整个头部的,而不是标题,你要么用插槽,要么css穿透吧,而且有一点就是,卡片的标题字体大小一般全局统一的,要么你就全局改 |
这话说的,我是不是前端我不照样会用么?官方对标题的定义描述本就有问题,为什么body-style能控制例内容区域文字大小,而header-style为什么不可以,我知道是整个头部,为什么arco-card-header-title就不吃?难道标题不属于头部?它描述都是:自定义标题区域样式,我当然可以用deep去穿透,既然api给了我就用,我对这个参数就是有疑义 |
Basic Info
What is expected?
:header-style自定义样式应对arco-card-header-title这个class生效
Steps to reproduce
无论是放置在a-card或a-card-grid里都对自定义标题区里的样式无法控制
The text was updated successfully, but these errors were encountered: