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

pull/3390/head
ssongliu 11 months ago committed by GitHub
parent df513c49e9
commit d50fa7d928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

@ -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"

@ -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"

@ -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,

@ -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"

@ -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"

Loading…
Cancel
Save