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

步驟指示器扁掉 #883

Closed
hqn21 opened this issue Dec 27, 2022 · 1 comment
Closed

步驟指示器扁掉 #883

hqn21 opened this issue Dec 27, 2022 · 1 comment
Assignees
Labels
🐛 已證實 Bug 非常確定是個 Bug。 🎨 CSS 與 CSS 和外觀設計上有關聯。
Milestone

Comments

@hqn21
Copy link
Member

hqn21 commented Dec 27, 2022

如題
步驟指示器在超過一行的時候會扁掉
似乎是沒有加is-completed或is-active的才會出現這個問題(純item)

655BC7E7-0101-4F1D-B800-C67F5CBDA5F0

@YamiOdymel YamiOdymel self-assigned this Dec 27, 2022
@YamiOdymel YamiOdymel added 🐛 已證實 Bug 非常確定是個 Bug。 🎨 CSS 與 CSS 和外觀設計上有關聯。 labels Dec 27, 2022
@YamiOdymel YamiOdymel added this to the Tocas 4.1.1 milestone Dec 27, 2022
@YamiOdymel
Copy link
Member

YamiOdymel commented Dec 27, 2022

暫時修正用的 CSS,主要是 Flexbox 的文字區塊會太寬而把數字擠扁

.ts-procedure .item .indicator {
    min-width: 2rem;
    margin-top: -0.05rem;
}

.ts-procedure .item .content {
    align-items: flex-start;
}

大致上就可以修復

sshot-2022-12-27-8

但因為這個臨時修正設置了 min-width 所以會影響到其他樣式,到時候要研究怎麼設計

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 已證實 Bug 非常確定是個 Bug。 🎨 CSS 與 CSS 和外觀設計上有關聯。
Projects
None yet
Development

No branches or pull requests

2 participants