Skip to content

Commit

Permalink
fix(ui): fix css style of terminal
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed May 29, 2023
1 parent 1ea2a14 commit 11be8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/views/Rtty.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<div ref="terminal" :style="{height: termHeight + 'px'}" @contextmenu.prevent="showContextmenu"/>
<div ref="terminal" :style="{height: termHeight + 'px', margin: '5px'}" @contextmenu.prevent="showContextmenu"/>
<Modal v-model="file.modal" :title="$t('Upload file to device')" @on-ok="doUploadFile" @on-cancel="onUploadDialogClosed">
<Upload :before-upload="beforeUpload" action="#">
<Button icon="ios-cloud-upload-outline">{{ $t("Select file") }}</Button>
Expand Down Expand Up @@ -167,7 +167,7 @@ export default {
this.socket.send(Buffer.concat(buf));
},
fitTerm() {
this.termHeight = document.documentElement.clientHeight - 10;
this.termHeight = document.documentElement.clientHeight - 11;
this.$nextTick(() => {
if (this.resizeDelay)
Expand Down

0 comments on commit 11be8de

Please sign in to comment.