fix: incorrect heigh setting on UI (#148)

This commit is contained in:
Chan 2023-07-30 20:07:36 +08:00 committed by GitHub
parent 8d459a9eed
commit e8c16fb686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -194,7 +194,7 @@ const viewName = ref('testcase')
<template>
<div class="common-layout">
<el-container style="height: 100vh">
<el-container style="height: 100%">
<el-aside width="200px">
<el-button type="primary" @click="openTestSuiteCreateDialog" test-id="open-new-suite-dialog" :icon="Edit">New</el-button>
<el-input v-model="filterText" placeholder="Filter keyword" test-id="search" />
@ -280,7 +280,9 @@ header {
line-height: 1.5;
max-height: 100vh;
}
.common-layout {
height: 100%;
}
.logo {
display: block;
margin: 0 auto 2rem;

View File

@ -4,7 +4,7 @@
/* max-width: 1280px; */
margin: 0 auto;
padding: 2rem;
height: 100vh;
font-weight: normal;
}