diff --git a/src/styles/index.scss b/src/styles/index.scss index 654335ac..f4e8c579 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -5,12 +5,34 @@ } .search-bar { - padding: 18px 0 0 10px; - margin-bottom: 10px; + padding: 18px 18px 0; + margin-bottom: 15px; background-color: var(--el-bg-color-overlay); border: 1px solid var(--el-border-color-light); border-radius: 4px; box-shadow: var(--el-box-shadow-light); + + //搜索表单按钮组全局样式 + .search-form-btn-box { + flex: 1; + padding-right: 13px; + + .search-form-btn-box-item { + display: flex; + align-items: center; + justify-content: end; + width: 100%; + } + } + + :deep(.el-form-item) { + width: 100% !important; + } + + .el-form--inline .el-form-item { + display: flex !important; + margin-right: 0px !important; + } } .table-container > .el-card__header { diff --git a/src/views/codegen/index.vue b/src/views/codegen/index.vue index 60ea6d63..ad089bdc 100644 --- a/src/views/codegen/index.vue +++ b/src/views/codegen/index.vue @@ -1,30 +1,38 @@