Skip to content

Commit 30605fb

Browse files
author
preschooler
committed
🌈 style:微调
1 parent fc5e37d commit 30605fb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/layout/components/TabMenu/src/TabMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export default defineComponent({
199199
{
200200
'!left-[var(--tab-menu-min-width)]': unref(collapse),
201201
'!left-[var(--tab-menu-max-width)]': !unref(collapse),
202-
'!w-[calc(var(--left-menu-max-width)+1px)]': unref(showMenu) || unref(fixedMenu),
202+
'!w-[var(--left-menu-max-width)]': unref(showMenu) || unref(fixedMenu),
203203
'!w-0': !unref(showMenu) && !unref(fixedMenu)
204204
}
205205
]}

src/layout/components/TagsView/src/TagsView.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,21 +491,21 @@ $prefix-cls: #{$namespace}-tags-view;
491491
492492
&::before {
493493
position: absolute;
494-
top: 1px;
494+
top: 0;
495495
left: 0;
496496
width: 100%;
497-
height: calc(100% - 1px);
497+
height: 100%;
498498
border-left: 1px solid var(--el-border-color);
499499
content: '';
500500
}
501501
502502
&--first {
503503
&::before {
504504
position: absolute;
505-
top: 1px;
505+
top: 0;
506506
left: 0;
507507
width: 100%;
508-
height: calc(100% - 1px);
508+
height: 100%;
509509
border-right: 1px solid var(--el-border-color);
510510
border-left: none;
511511
content: '';

0 commit comments

Comments
 (0)