feat: mobile terminal adaptation (#78)

This commit is contained in:
Fine0830
2022-05-09 14:54:08 +08:00
committed by GitHub
parent 2a2500a28d
commit d93a7cead2
15 changed files with 56 additions and 432 deletions

View File

@@ -64,6 +64,7 @@ function removeWidget() {
height: 100%;
font-size: 12px;
position: relative;
overflow: auto;
}
.delete {
@@ -76,6 +77,7 @@ function removeWidget() {
padding: 10px;
font-size: 12px;
border-bottom: 1px solid #dcdfe6;
min-width: 1024px;
}
.tools {
@@ -93,6 +95,5 @@ function removeWidget() {
.log {
width: 100%;
overflow: auto;
}
</style>

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<div class="flex-h tab-header">
<div class="tabs">
<div class="tabs scroll_bar_style">
<span
v-for="(child, idx) in data.children || []"
:key="idx"
@@ -259,6 +259,10 @@ export default defineComponent({
.tabs {
height: 40px;
color: #ccc;
width: 100%;
overflow-x: auto;
white-space: nowrap;
overflow-y: hidden;
span {
display: inline-block;
@@ -297,7 +301,10 @@ export default defineComponent({
span.active {
border-bottom: 1px solid #409eff;
color: #409eff;
.tab-name {
color: #409eff;
}
}
}

View File

@@ -66,6 +66,7 @@ function removeWidget() {
height: 100%;
font-size: 12px;
position: relative;
overflow: auto;
}
.delete {
@@ -78,6 +79,7 @@ function removeWidget() {
padding: 10px;
font-size: 12px;
border-bottom: 1px solid #dcdfe6;
min-width: 1200px;
}
.tools {
@@ -96,5 +98,6 @@ function removeWidget() {
.trace {
width: 100%;
overflow: auto;
min-width: 1200px;
}
</style>