style: 优化工具栏样式选择器
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user