Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
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
web_component
submodule
Commits
3ee61c7b
Commit
3ee61c7b
authored
Jul 14, 2020
by
zhangwenshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改padding
parent
766215fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
Cell.tsx
components/apolloTable/component/Cell.tsx
+0
-3
Column.tsx
components/apolloTable/component/Column.tsx
+1
-1
No files found.
components/apolloTable/component/Cell.tsx
View file @
3ee61c7b
...
...
@@ -213,9 +213,6 @@ const Cell = (props: CellProps) => {
const
transferColumn
=
transferAttr
(
columnType
,
newProps
);
const
style
:
any
=
{};
if
(
columnIndex
===
0
&&
(
rowSelection
||
showExpand
||
showIndex
))
{
style
.
paddingLeft
=
0
;
}
const
{
dynamicCellConfigDTO
}
=
columnData
;
const
detail
=
(
...
...
components/apolloTable/component/Column.tsx
View file @
3ee61c7b
...
...
@@ -85,7 +85,7 @@ export default class TableColumn extends PureComponent<ColumnProps> {
return
(
<
div
className=
{
s
.
colContainer
}
>
{
rowSelection
&&
columnIndex
===
0
&&
<
div
className=
{
s
.
checkbox
}
>
{
this
.
getCheckbox
()
}
</
div
>
}
<
div
className=
{
s
.
colBrief
}
style=
{
{
marginLeft
:
showIndex
&&
columnIndex
===
0
?
'
40
px'
:
0
}
}
>
<
div
className=
{
s
.
colBrief
}
style=
{
{
marginLeft
:
showIndex
&&
columnIndex
===
0
?
'
56
px'
:
0
}
}
>
{
icon
&&
<
div
className=
{
s
.
colIcon
}
>
{
icon
()
}
</
div
>
}
<
span
className=
{
required
?
classNames
(
s
.
colTitle
,
s
.
required
)
:
s
.
colTitle
}
>
{
columnChsName
}
...
...
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