style: adjust width of search input in easy-admin
Set a fixed width for the search input field in the easy-admin plugin to enhance the consistency and readability of the search section. The update modifies the easy-admin.js and public.css files to enforce the new styling.
This commit is contained in:
@@ -305,7 +305,9 @@ table样式
|
||||
}
|
||||
|
||||
.form-search .layui-input-inline {
|
||||
width: 170px;
|
||||
min-width: 170px;
|
||||
max-width: 300px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form-search .layui-input-inline input,
|
||||
|
||||
@@ -369,7 +369,7 @@ define(["jquery", "tableSelect"], function ($, tableSelect) {
|
||||
formHtml += '\t<div class="layui-form-item layui-inline">\n' +
|
||||
'<label class="layui-form-label">' + d.title + '</label>\n' +
|
||||
'<div class="layui-input-inline">\n' +
|
||||
'<input id="c-' + d.fieldAlias + '" name="' + d.fieldAlias + '" data-search-op="' + d.searchOp + '" value="' + d.searchValue + '" placeholder="' + d.searchTip + '" class="layui-input">\n' +
|
||||
'<input style="width: 275px;font-size: 0.82rem" id="c-' + d.fieldAlias + '" name="' + d.fieldAlias + '" data-search-op="' + d.searchOp + '" value="' + d.searchValue + '" placeholder="' + d.searchTip + '" class="layui-input">\n' +
|
||||
'</div>\n' +
|
||||
'</div>';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user