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

Switch 在右側沒文字時,一樣會有右側 Margin #833

Closed
YamiOdymel opened this issue Jul 10, 2022 · 0 comments
Closed

Switch 在右側沒文字時,一樣會有右側 Margin #833

YamiOdymel opened this issue Jul 10, 2022 · 0 comments
Assignees
Labels
🐛 已證實 Bug 非常確定是個 Bug。 🎨 CSS 與 CSS 和外觀設計上有關聯。

Comments

@YamiOdymel
Copy link
Member

這會讓單純使用元件而不帶標籤文字的 Switch 不好對齊邊邊,但文字又不是 Node 所以沒辦法用 :only-child 來判斷

image

@YamiOdymel YamiOdymel added 🐛 已證實 Bug 非常確定是個 Bug。 🎨 CSS 與 CSS 和外觀設計上有關聯。 labels Jul 10, 2022
@YamiOdymel YamiOdymel self-assigned this Jul 10, 2022
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

1 participant