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

移除 Segment #997

Closed
YamiOdymel opened this issue Jan 27, 2024 · 1 comment
Closed

移除 Segment #997

YamiOdymel opened this issue Jan 27, 2024 · 1 comment
Assignees
Labels
🎨 CSS 與 CSS 和外觀設計上有關聯。 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。
Milestone

Comments

@YamiOdymel
Copy link
Member

Segment 跟 Box 一直都很曖昧,仔細想想這是從 v2 繼承下來的要素,

那時是因為 Semantic UI 有明顯區分 Segment 與 Card,但 Card 裡面的 .content 只能用於 Card

可是在 v4 Tocas UI 其實有獨立出 .ts-content,多了一個 Segment 要維護,反倒可能讓人分散注意力

@YamiOdymel YamiOdymel added 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。 🎨 CSS 與 CSS 和外觀設計上有關聯。 labels Jan 27, 2024
@YamiOdymel YamiOdymel added this to the Tocas 4.3.0 milestone Jan 27, 2024
@YamiOdymel YamiOdymel self-assigned this Jan 27, 2024
@YamiOdymel
Copy link
Member Author

也可使用 .ts-card.has-padded 取代 .ts-segment 與 .ts-card > .ts-content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 CSS 與 CSS 和外觀設計上有關聯。 💣 大型異動 這個請求是大型異動,甚至有可能重寫部份程式碼而不是單純小修改追加功能。
Projects
None yet
Development

No branches or pull requests

1 participant