Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
13ee2984
Commit
13ee2984
authored
Aug 11, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉虚拟滚动
parent
e186cb4f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
397 deletions
+0
-397
index.less
src/view/Manage/VirtualTable/index.less
+0
-58
index.tsx
src/view/Manage/VirtualTable/index.tsx
+0
-320
virtual-table-helper.tsx
src/view/Manage/VirtualTable/virtual-table-helper.tsx
+0
-19
No files found.
src/view/Manage/VirtualTable/index.less
deleted
100644 → 0
View file @
e186cb4f
.virtual-table {
.rdg {
border: none !important;
}
.rdg-header-row {
.rdg-cell {
box-shadow: none !important;
background-color: #f2f5fc!important;
border-block-end: none !important;
border-inline-end: none !important;
font-weight: normal !important;
outline: none !important;
top: 0 !important;
padding-inline: 0 !important;
padding-left: 8px !important;
padding-right: 8px !important;
&:before {
position: absolute;
top: 50%;
right: 0;
width: 1px;
height: 1.6em;
background-color: rgba(0,0,0,.06);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
transition: background-color .3s;
content: "";
}
&:after {
width: 8px;
right: 0;
top: 0;
bottom: 0;
}
}
}
.rdg-row {
&:hover {
background-color: #fafafa;
}
.rdg-cell {
box-shadow: none !important;
color: #363636 !important;
border-block-end: 1px solid #f0f0f0 !important;
border-inline-end: none !important;
outline: none !important;
padding-inline: 0 !important;
padding-left: 8px !important;
padding-right: 8px !important;
}
}
}
\ No newline at end of file
src/view/Manage/VirtualTable/index.tsx
deleted
100644 → 0
View file @
e186cb4f
This diff is collapsed.
Click to expand it.
src/view/Manage/VirtualTable/virtual-table-helper.tsx
deleted
100644 → 0
View file @
e186cb4f
import
CaretDownOutlined
from
'@ant-design/icons/CaretDownOutlined'
;
import
CaretUpOutlined
from
'@ant-design/icons/CaretUpOutlined'
;
import
classNames
from
'classnames'
const
prefixCls
=
'yy'
export
const
upNode
=
(
active
:
boolean
)
=>
(
<
CaretUpOutlined
className=
{
classNames
(
`${prefixCls}-table-column-sorter-up anticon-caret-up anticon`
,
{
active
,
})
}
/>
);
export
const
downNode
=
(
active
:
boolean
)
=>
(
<
CaretDownOutlined
className=
{
classNames
(
`${prefixCls}-table-column-sorter-down anticon-caret-down anticon`
,
{
active
,
})
}
/>
);
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