diff --git a/frontend/src/styles/common.scss b/frontend/src/styles/common.scss index 205790846..378c2db24 100644 --- a/frontend/src/styles/common.scss +++ b/frontend/src/styles/common.scss @@ -338,3 +338,7 @@ .common-prompt { margin-bottom: 20px !important; } + +.mini-form-item { + width: 40% !important; +} diff --git a/frontend/src/styles/moblie.scss b/frontend/src/styles/moblie.scss index e1d8131ba..1fece76f3 100644 --- a/frontend/src/styles/moblie.scss +++ b/frontend/src/styles/moblie.scss @@ -65,6 +65,10 @@ } } } + + .mini-form-item { + width: 100% !important; + } .database-status { .title { diff --git a/frontend/src/views/container/container/operate/index.vue b/frontend/src/views/container/container/operate/index.vue index 0850253e8..dea6eb8aa 100644 --- a/frontend/src/views/container/container/operate/index.vue +++ b/frontend/src/views/container/container/operate/index.vue @@ -91,7 +91,7 @@ - + {{ $t('container.cpuShareHelper') }} - + {{ $t('commons.units.core') }} @@ -113,7 +113,7 @@ prop="memoryItem" :rules="checkNumberRange(0, limits.memory)" > - + MB {{ $t('container.limitHelper', [limits.memory]) }}MB diff --git a/frontend/src/views/cronjob/operate/index.vue b/frontend/src/views/cronjob/operate/index.vue index a8da8c150..699cc7890 100644 --- a/frontend/src/views/cronjob/operate/index.vue +++ b/frontend/src/views/cronjob/operate/index.vue @@ -33,7 +33,7 @@ - +