bug(mdc-card): Negative margin on subtitle
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
The card subtitle has a negative margin, causing it to run into the card title
### Reproduction
https://stackblitz.com/edit/angular-wro35c-pjrlt2?file=src%2Fapp%2Fcard-subtitle-example.html
### Expected Behavior
Should look more spaced
### Actual Behavior
Shouldnt run into each other
### Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
コントリビューションガイド
調査の方向性
リンクされたStackBlitzの再現例、特に src/app/card-subtitle-example.html から始め、サブタイトルとタイトルが重なっていることを確認します。負のマージンを生成している Angular Material MDC のカードサブタイトルのスタイルを追跡します。サブタイトルとタイトルの間に視認できる間隔があり、再現例で両者が重なって表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- design, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100