Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
24270f4e
authored
Aug 31, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/box-sizing' of
https://gitee.com/preschooler/platform-admin-ui
parents
8cb59315
ca3e47f6
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
30 deletions
+14
-30
src/App.vue
+0
-4
src/components/Icon/src/IconSelect.vue
+3
-3
src/layout/Layout.vue
+0
-3
src/layout/components/AppView.vue
+3
-20
src/styles/var.css
+8
-0
No files found.
src/App.vue
View file @
24270f4e
...
@@ -54,8 +54,4 @@ body {
...
@@ -54,8 +54,4 @@ body {
.
#
{
$prefix-cls
}
-grey-mode
{
.
#
{
$prefix-cls
}
-grey-mode
{
filter
:
grayscale
(
100%
);
filter
:
grayscale
(
100%
);
}
}
.scrollbar__view
{
height
:
99%
!important
;
}
</
style
>
</
style
>
src/components/Icon/src/IconSelect.vue
View file @
24270f4e
...
@@ -122,7 +122,7 @@ watch(
...
@@ -122,7 +122,7 @@ watch(
placement: 'auto'
placement: 'auto'
}"
}"
:visible="visible"
:visible="visible"
:width="35
0
"
:width="35
5
"
popper-class="pure-popper"
popper-class="pure-popper"
trigger="click"
trigger="click"
>
>
...
@@ -147,7 +147,7 @@ watch(
...
@@ -147,7 +147,7 @@ watch(
>
>
<ElDivider
border-style=
"dashed"
class=
"tab-divider"
/>
<ElDivider
border-style=
"dashed"
class=
"tab-divider"
/>
<ElScrollbar
height=
"220px"
>
<ElScrollbar
height=
"220px"
>
<ul
class=
"ml-2 flex flex-wrap
px-2
"
>
<ul
class=
"ml-2 flex flex-wrap"
>
<li
<li
v-for=
"(item, key) in pageList"
v-for=
"(item, key) in pageList"
:key=
"key"
:key=
"key"
...
@@ -171,7 +171,7 @@ watch(
...
@@ -171,7 +171,7 @@ watch(
background
background
class=
"h-10 flex items-center justify-center"
class=
"h-10 flex items-center justify-center"
layout=
"prev, pager, next"
layout=
"prev, pager, next"
s
mall
s
ize=
"small"
@
current-change=
"onCurrentChange"
@
current-change=
"onCurrentChange"
/>
/>
</ElPopover>
</ElPopover>
...
...
src/layout/Layout.vue
View file @
24270f4e
...
@@ -71,8 +71,5 @@ $prefix-cls: #{$namespace}-layout;
...
@@ -71,8 +71,5 @@ $prefix-cls: #{$namespace}-layout;
.
#
{
$prefix-cls
}
{
.
#
{
$prefix-cls
}
{
background-color
:
var
(
--app-content-bg-color
);
background-color
:
var
(
--app-content-bg-color
);
:deep(.#{$elNamespace
}
-scrollbar__view
)
{
height
:
99%
!important
;
}
}
}
</
style
>
</
style
>
src/layout/components/AppView.vue
View file @
24270f4e
...
@@ -36,27 +36,10 @@ provide('reload', reload)
...
@@ -36,27 +36,10 @@ provide('reload', reload)
<
template
>
<
template
>
<section
<section
:class=
"[
:class=
"[
'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)]',
'p-[var(--app-content-padding)] w-
full
bg-[var(--app-content-bg-color)] dark:bg-[var(--el-bg-color)]',
{
{
'!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]':
'!min-h-[calc(100vh-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))] pb-0':
(fixedHeader
&&
footer
(layout === 'classic' || layout === 'topLeft' || layout === 'top')
&&
footer) ||
(!tagsView
&&
layout === 'top'
&&
footer),
'!min-h-[calc(100%-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height)-var(--tags-view-height))]':
tagsView
&&
layout === 'top'
&&
footer,
'!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--top-tool-height)-var(--app-footer-height))]':
!fixedHeader
&&
layout === 'classic'
&&
footer,
'!min-h-[calc(100%-var(--tags-view-height)-var(--app-content-padding)-var(--app-content-padding)-var(--app-footer-height))]':
!fixedHeader
&&
layout === 'topLeft'
&&
footer,
'!min-h-[calc(100%-var(--top-tool-height)-var(--app-content-padding)-var(--app-content-padding))]':
fixedHeader
&&
layout === 'cutMenu'
&&
footer,
'!min-h-[calc(100%-var(--top-tool-height)-var(--app-content-padding)-var(--app-content-padding)-var(--tags-view-height))]':
!fixedHeader
&&
layout === 'cutMenu'
&&
footer
}
}
]"
]"
>
>
...
...
src/styles/var.css
View file @
24270f4e
...
@@ -64,3 +64,11 @@ body {
...
@@ -64,3 +64,11 @@ body {
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
}
}
*,
:after
,
:before
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment