Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
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
shenshaokai
jinfa-platform
Commits
f89f990c
Commit
f89f990c
authored
Apr 19, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善body样式
parent
af33857c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
index.less
src/components/MellowCard/index.less
+9
-1
index.tsx
src/components/MellowCard/index.tsx
+1
-0
No files found.
src/components/MellowCard/index.less
View file @
f89f990c
...
...
@@ -20,7 +20,15 @@
}
.ant-card-body {
padding: 14px 24px 24px;
padding: 16px;
}
}
}
&-hasTitle {
:global {
.ant-card-body {
padding: 12px 16px 16px !important;
}
}
}
...
...
src/components/MellowCard/index.tsx
View file @
f89f990c
...
...
@@ -22,6 +22,7 @@ const MellowCard: React.FC<MellowCardProps> = props => {
const
{
children
,
fullHeight
,
...
rest
}
=
props
;
const
cls
=
classNames
(
styles
[
'mellow-card'
],
{
[
styles
.
fullHeight
]:
fullHeight
,
[
styles
[
'mellow-card-hasTitle'
]]:
!!
rest
.
title
,
});
return
(
...
...
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