Unverified Commit 1bfc7acf authored by Lijiaoa's avatar Lijiaoa Committed by GitHub
Browse files

[webui] Improve overview page: remove blank at the bottom (#4302)

parent 219d7d19
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
.content { .content {
width: 87%; width: 87%;
min-height: calc(100vh - 56px); min-height: calc(100vh - 80px);
margin: 0 auto; margin: 0 auto;
min-width: 1200px; min-width: 1200px;
max-width: 1490px; max-width: 1490px;
......
...@@ -26,7 +26,7 @@ export const BasicInfo = (): any => { ...@@ -26,7 +26,7 @@ export const BasicInfo = (): any => {
<Stack horizontal horizontalAlign='space-between' className='marginTop'> <Stack horizontal horizontalAlign='space-between' className='marginTop'>
<div className='basic'> <div className='basic'>
<p>Name</p> <p>Name</p>
<div className='ellipsis'>{EXPERIMENT.profile.params.experimentName}</div> <div className='ellipsis'>{EXPERIMENT.profile.params.experimentName || '--'}</div>
<p className='marginTop'>ID</p> <p className='marginTop'>ID</p>
<div className='ellipsis'>{EXPERIMENT.profile.id}</div> <div className='ellipsis'>{EXPERIMENT.profile.id}</div>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.basic { .basic {
.lineMargin { .lineMargin {
margin-top: 24px; margin-top: 22px;
font-weight: normal; font-weight: normal;
} }
} }
...@@ -6,6 +6,7 @@ $boxGapPadding: 10px; ...@@ -6,6 +6,7 @@ $boxGapPadding: 10px;
display: grid; display: grid;
grid-template-columns: repeat(8, 1fr); grid-template-columns: repeat(8, 1fr);
grid-auto-rows: 102px; grid-auto-rows: 102px;
margin-bottom: 24px;
> div { > div {
background: #fff; background: #fff;
...@@ -42,7 +43,7 @@ $boxGapPadding: 10px; ...@@ -42,7 +43,7 @@ $boxGapPadding: 10px;
grid-column: 1 / 5; grid-column: 1 / 5;
grid-row-start: 8; grid-row-start: 8;
margin-top: -50px; margin-top: -50px;
height: 158px; height: 152px;
margin-right: $boxGapPadding; margin-right: $boxGapPadding;
border-radius: $boxBorderRadius; border-radius: $boxBorderRadius;
} }
...@@ -83,7 +84,7 @@ $boxGapPadding: 10px; ...@@ -83,7 +84,7 @@ $boxGapPadding: 10px;
.overviewBestMetric { .overviewBestMetric {
grid-column: 5 / 9; grid-column: 5 / 9;
grid-row: 1 / 10; grid-row: 1 / 9;
max-height: 822px; max-height: 822px;
overflow: hidden; overflow: hidden;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment