Commit 0bb7725b by Jaxon

fix(d2-search): 修复搜索框输入框行高样式问题

将 .el-input__inner 选择器更改为 .d2-search .el-input__inner,避免全局样式污染,确保行高样式仅作用于组件内部。
1 parent dd3ef7a3
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
background-color: #fff; background-color: #fff;
} }
.el-input__inner { .d2-search .el-input__inner {
line-height: 1px !important; line-height: 1px !important;
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!