修改手机端日志样式,忽略cron搜索大小写

This commit is contained in:
hanhh 2021-05-25 11:27:00 +08:00
parent 630ced4451
commit e12f199ca7
2 changed files with 17 additions and 1 deletions

View File

@ -103,7 +103,7 @@ export default class CronService {
public async crontabs(searchText?: string): Promise<Crontab[]> { public async crontabs(searchText?: string): Promise<Crontab[]> {
let query = {}; let query = {};
if (searchText) { if (searchText) {
const reg = new RegExp(searchText); const reg = new RegExp(searchText, 'i');
query = { query = {
$or: [ $or: [
{ {

View File

@ -16,6 +16,13 @@ body {
overflow-y: hidden; overflow-y: hidden;
overflow-x: auto; overflow-x: auto;
} }
.CodeMirror-sizer {
width: 500px;
transform: scale(0.95);
transform-origin: top left;
min-height: auto;
}
} }
.ql-container-wrapper { .ql-container-wrapper {
@ -78,4 +85,13 @@ body {
height: calc(100vh - var(--vh-offset, 0px) - 176px); height: calc(100vh - var(--vh-offset, 0px) - 176px);
} }
} }
.log-modal-code {
.CodeMirror-sizer {
width: 500px;
transform: scale(0.95);
transform-origin: top left;
min-height: auto;
}
}
} }