Skip to content

Commit 75e36c7

Browse files
committed
style: 调整样式
1 parent 651520d commit 75e36c7

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

src/views/dashboard/components/PanelGroup/index.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.panel-group-container {
22
.panel-group {
3-
margin-top: 18px;
43
.card-panel-col{
5-
margin-bottom: 32px;
4+
margin-bottom: 20px;
65
}
76
.card-panel {
87
height: 108px;

src/views/dashboard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Home extends Component {
3737
};
3838
render() {
3939
return (
40-
<div className="dashboard-container">
40+
<div className="app-container">
4141
<a
4242
href="https://github.com/NLRX-WJC/react-antd-admin-template"
4343
target="_blank"

src/views/dashboard/index.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.dashboard-container {
1+
.app-container {
22
background-color: rgb(240, 242, 245);
33
position: relative;
44
.github-corner {
55
position: absolute;
6-
top: -20px;
7-
right: -20px;
6+
top: 0px;
7+
right: 0px;
88
background-image: url('~@/assets/images/githubCorner.png');
99
background-size: 100% 100%;
1010
width: 120px;

src/views/layout/Content/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const LayoutContent = (props) => {
3333
};
3434
return (
3535
<DocumentTitle title={getPageTitle(menuList, pathname)}>
36-
<Content style={{ margin: "0px 16px" }}>
36+
<Content style={{"height":"calc(100% - 100px)"}}>
3737
<Switch>
3838
<Redirect exact from="/" to="/dashboard" />
3939
{routeList.map((route) => {

0 commit comments

Comments
 (0)