File tree Expand file tree Collapse file tree 5 files changed +14
-30
lines changed Expand file tree Collapse file tree 5 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 54
54
.#{$prefix-cls } -grey-mode {
55
55
filter : grayscale (100% );
56
56
}
57
-
58
- .scrollbar__view {
59
- height : 99% !important ;
60
- }
61
57
</style >
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ watch(
122
122
placement: 'auto'
123
123
}"
124
124
:visible =" visible"
125
- :width =" 350 "
125
+ :width =" 355 "
126
126
popper-class =" pure-popper"
127
127
trigger =" click"
128
128
>
@@ -147,7 +147,7 @@ watch(
147
147
>
148
148
<ElDivider border-style =" dashed" class =" tab-divider" />
149
149
<ElScrollbar height =" 220px" >
150
- <ul class =" ml-2 flex flex-wrap px-2 " >
150
+ <ul class =" ml-2 flex flex-wrap" >
151
151
<li
152
152
v-for =" (item, key) in pageList"
153
153
:key =" key"
@@ -171,7 +171,7 @@ watch(
171
171
background
172
172
class =" h-10 flex items-center justify-center"
173
173
layout =" prev, pager, next"
174
- small
174
+ size = " small"
175
175
@current-change =" onCurrentChange"
176
176
/>
177
177
</ElPopover >
Original file line number Diff line number Diff line change @@ -71,8 +71,5 @@ $prefix-cls: #{$namespace}-layout;
71
71
72
72
.#{$prefix-cls } {
73
73
background-color : var (--app-content-bg-color );
74
- :deep (.#{$elNamespace}-scrollbar__view ) {
75
- height : 99% !important ;
76
- }
77
74
}
78
75
</style >
Original file line number Diff line number Diff line change @@ -36,27 +36,10 @@ provide('reload', reload)
36
36
<template >
37
37
<section
38
38
:class =" [
39
- 'p-[var(--app-content-padding)] w-[calc(100%-var(--app-content-padding)-var(--app-content-padding))] bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]',
39
+ 'p-[var(--app-content-padding)] w-full bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]',
40
40
{
41
- '!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]':
42
- (fixedHeader &&
43
- (layout === 'classic' || layout === 'topLeft' || layout === 'top') &&
44
- footer) ||
45
- (!tagsView && layout === 'top' && footer),
46
- '!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height)-var(--tags-view-height))]':
47
- tagsView && layout === 'top' && footer,
48
-
49
- '!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--top-tool-height)-var(--app-footer-height))]':
50
- !fixedHeader && layout === 'classic' && footer,
51
-
52
- '!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]':
53
- !fixedHeader && layout === 'topLeft' && footer,
54
-
55
- '!min-h-[calc(100%-var(--top-tool-height)-var(--app-content-padding)-var(--app-content-padding))]':
56
- fixedHeader && layout === 'cutMenu' && footer,
57
-
58
- '!min-h-[calc(100%-var(--top-tool-height)-var(--app-content-padding)-var(--app-content-padding)-var(--tags-view-height))]':
59
- !fixedHeader && layout === 'cutMenu' && footer
41
+ '!min-h-[calc(100vh-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))] pb-0':
42
+ footer
60
43
}
61
44
]"
62
45
>
Original file line number Diff line number Diff line change @@ -64,3 +64,11 @@ body {
64
64
-webkit-font-smoothing : antialiased;
65
65
-moz-osx-font-smoothing : grayscale;
66
66
}
67
+
68
+ * ,
69
+ : after ,
70
+ : before {
71
+ margin : 0 ;
72
+ padding : 0 ;
73
+ box-sizing : border-box;
74
+ }
You can’t perform that action at this time.
0 commit comments