fix: 优化部分界面滚动条样式 (#3389)

This commit is contained in:
ssongliu 2023-12-19 17:38:07 +08:00 committed by GitHub
parent df513c49e9
commit d50fa7d928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@
placeholder="#Define or paste the content of your docker-compose file here"
:indent-with-tab="true"
:tabSize="4"
style="width: 100%; height: calc(100vh - 375px)"
style="width: 100%; height: calc(100vh - 376px)"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"

View File

@ -130,7 +130,7 @@
placeholder="# The SSH configuration file does not exist or is empty (/etc/ssh/sshd_config)"
:indent-with-tab="true"
:tabSize="4"
style="margin-top: 10px; height: calc(100vh - 330px)"
style="margin-top: 10px; height: calc(100vh - 405px)"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"

View File

@ -40,7 +40,7 @@
placeholder="# The DNS configuration file does not exist or is empty (/etc/resolv.conf)"
:indent-with-tab="true"
:tabSize="4"
style="margin-top: 10px; height: calc(100vh - 200px)"
style="margin-top: 10px; height: calc(100vh - 260px)"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"

View File

@ -38,7 +38,7 @@ const logType = computed(() => {
const id = computed(() => {
return props.id;
});
const style = ref('height: calc(100vh - 400px); width: 100%; min-height: 400px');
const style = ref('height: calc(100vh - 402px); width: 100%; min-height: 300px');
const loading = ref(false);
const data = ref({
enable: false,

View File

@ -5,7 +5,7 @@
:placeholder="$t('commons.msg.noneData')"
:indent-with-tab="true"
:tabSize="4"
style="max-height: 700px"
style="height: calc(100vh - 352px)"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"

View File

@ -5,7 +5,7 @@
:placeholder="$t('commons.msg.noneData')"
:indent-with-tab="true"
:tabSize="4"
style="max-height: 700px"
style="height: calc(100vh - 352px)"
:lineWrapping="true"
:matchBrackets="true"
theme="cobalt"