Skip to content

Commit

Permalink
style: 搜索菜单功能的placeholder更好的移动端兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Jan 12, 2024
1 parent 45900c5 commit a4edee2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/style/element-plus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@

/* 自定义菜单搜索样式 */
.pure-search-dialog {
@media screen and (width > 760px) and (width <= 940px) {
.el-input__inner {
font-size: 12px;
}
}

@media screen and (width <= 470px) {
.el-input__inner {
font-size: 12px;
}
}

.el-dialog__header {
display: none;
}
Expand Down

0 comments on commit a4edee2

Please sign in to comment.