fix: tabs-view 容器宽度计算错误

This commit is contained in:
yuhengshen
2022-11-28 23:39:09 +08:00
parent 25d6134923
commit a0deba504a

View File

@@ -1,6 +1,6 @@
<template> <template>
<div <div
class="tabs-view" class="tabs-view box-border"
:class="{ :class="{
'tabs-view-fix': multiTabsSetting.fixed, 'tabs-view-fix': multiTabsSetting.fixed,
'tabs-view-fixed-header': isMultiHeaderFixed, 'tabs-view-fixed-header': isMultiHeaderFixed,
@@ -642,7 +642,6 @@
background: var(--color); background: var(--color);
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
//margin-right: 10px;
&-btn { &-btn {
color: var(--color); color: var(--color);
@@ -665,7 +664,7 @@
.tabs-view-fix { .tabs-view-fix {
position: fixed; position: fixed;
z-index: 5; z-index: 5;
padding: 6px 19px 6px 10px; padding: 6px 10px 6px 10px;
left: 200px; left: 200px;
} }