style: 优化工具栏样式选择器

This commit is contained in:
Ray.Hao
2026-04-19 20:10:06 +08:00
parent d17c4abfbf
commit ec38cb71ce

View File

@@ -191,8 +191,8 @@ function handleSettingsClick() {
cursor: pointer; cursor: pointer;
transition: all 0.3s; transition: all 0.3s;
// 确保子元素居中 // 只对需要居中的子元素生效,不使用通配符避免影响选择器组件
> * { > [class^="i-svg:"] {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;