Unverified Commit 79a51d41 authored by Lijiaoa's avatar Lijiaoa Committed by GitHub
Browse files

[Ready for review] bug bash (#5098)

parent e9ea1853
...@@ -122,7 +122,7 @@ class SuccessTable extends React.Component<SuccessTableProps, SuccessTableState> ...@@ -122,7 +122,7 @@ class SuccessTable extends React.Component<SuccessTableProps, SuccessTableState>
transform: `rotate(${this.props.expandRowIDs.has(item.id) ? 90 : 0}deg)` transform: `rotate(${this.props.expandRowIDs.has(item.id) ? 90 : 0}deg)`
} }
}} }}
className='cursor' className='cursor bold positionTop'
onClick={this.expandTrialId.bind(this, Event, item.id)} onClick={this.expandTrialId.bind(this, Event, item.id)}
/> />
), ),
......
...@@ -306,7 +306,7 @@ class TableList extends React.Component<TableListProps, TableListState> { ...@@ -306,7 +306,7 @@ class TableList extends React.Component<TableListProps, TableListState> {
<Icon <Icon
aria-hidden={true} aria-hidden={true}
iconName='ChevronRight' iconName='ChevronRight'
className='cursor' className='cursor bold positionTop'
styles={{ styles={{
root: { root: {
transition: 'all 0.2s', transition: 'all 0.2s',
......
...@@ -264,7 +264,7 @@ function CompareIndex(props: CompareProps): any { ...@@ -264,7 +264,7 @@ function CompareIndex(props: CompareProps): any {
/> />
</div> </div>
{intermediateAllKeysList.length > 1 || {intermediateAllKeysList.length > 1 ||
(intermediateAllKeysList.length === 1 && intermediateAllKeysList !== ['default']) ? ( (intermediateAllKeysList.length === 1 && intermediateAllKeysList[0] !== 'default') ? (
<Stack horizontalAlign='end' className='selectKeys'> <Stack horizontalAlign='end' className='selectKeys'>
<Dropdown <Dropdown
className='select' className='select'
......
...@@ -47,6 +47,7 @@ class SimpleOrdinalAxis implements SingleAxis { ...@@ -47,6 +47,7 @@ class SimpleOrdinalAxis implements SingleAxis {
type: string; type: string;
baseName: string; baseName: string;
fullName: string; fullName: string;
// eslint-disable-next-line @typescript-eslint/prefer-as-const
scale: 'ordinal' = 'ordinal'; scale: 'ordinal' = 'ordinal';
domain: any[]; domain: any[];
nested = false; nested = false;
...@@ -62,6 +63,7 @@ class NestedOrdinalAxis implements SingleAxis { ...@@ -62,6 +63,7 @@ class NestedOrdinalAxis implements SingleAxis {
type: string; type: string;
baseName: string; baseName: string;
fullName: string; fullName: string;
// eslint-disable-next-line @typescript-eslint/prefer-as-const
scale: 'ordinal' = 'ordinal'; scale: 'ordinal' = 'ordinal';
domain = new Map<string, MultipleAxes>(); domain = new Map<string, MultipleAxes>();
nested = true; nested = true;
......
...@@ -74,6 +74,11 @@ $themeBlue: #0071bc; ...@@ -74,6 +74,11 @@ $themeBlue: #0071bc;
font-weight: bold; font-weight: bold;
} }
.positionTop {
position: relative;
top: 2px;
}
.input-padding { .input-padding {
padding-left: 10px; padding-left: 10px;
} }
...@@ -87,3 +92,7 @@ $themeBlue: #0071bc; ...@@ -87,3 +92,7 @@ $themeBlue: #0071bc;
color: #333; color: #333;
} }
} }
.ms-DetailsRow-cell {
padding-top: 8px;
}
...@@ -32,6 +32,7 @@ $margin: 24px; ...@@ -32,6 +32,7 @@ $margin: 24px;
.maxTrialNum { .maxTrialNum {
margin-bottom: 10px; margin-bottom: 10px;
.editparam { .editparam {
position: relative; position: relative;
top: -7px; top: -7px;
...@@ -48,7 +49,7 @@ $margin: 24px; ...@@ -48,7 +49,7 @@ $margin: 24px;
top: -4px; top: -4px;
} }
.editExpDuration{ .editExpDuration {
box-sizing: border-box; box-sizing: border-box;
width: 31%; width: 31%;
position: relative; position: relative;
......
...@@ -85,7 +85,6 @@ $barHeight: 56px; ...@@ -85,7 +85,6 @@ $barHeight: 56px;
border-bottom: 1px solid #fff; border-bottom: 1px solid #fff;
} }
.left-right-margin { .left-right-margin {
margin-left: 20px; margin-left: 20px;
margin-right: 20px; margin-right: 20px;
......
$buttonBorderRadius: 23px; $buttonBorderRadius: 23px;
$errorseriscolor: #FC615C; $errorseriscolor: #fc615c;
.config { .config {
position: fixed; position: fixed;
right: 0; right: 0;
...@@ -87,17 +88,18 @@ $errorseriscolor: #FC615C; ...@@ -87,17 +88,18 @@ $errorseriscolor: #FC615C;
right: 20px; right: 20px;
max-width: 455px; max-width: 455px;
min-width: 300px; min-width: 300px;
padding: 28px 32px; padding: 24px;
border-radius: 8px; border-radius: 8px;
box-shadow: 0px 4px 16px rgba(78, 97, 123, 0.2); border: 1px solid #f8f8f8;
box-shadow: 0 4px 16px rgba(78, 97, 123, 0.2);
background-color: #fff; background-color: #fff;
.head { .head {
height: 27px; height: 27px;
line-height: 27px; line-height: 27px;
font-size: 20px; font-size: 18px;
font-weight: 700; font-weight: 700;
margin-bottom: 15px; margin-bottom: 12px;
.title { .title {
color: $errorseriscolor; color: $errorseriscolor;
...@@ -108,17 +110,22 @@ $errorseriscolor: #FC615C; ...@@ -108,17 +110,22 @@ $errorseriscolor: #FC615C;
right: 30px; right: 30px;
} }
.icon{ .icon {
width: 25px; width: 24px;
height: 25px; height: 24px;
background-color: $errorseriscolor; background-color: $errorseriscolor;
border-radius: 50%; border-radius: 50%;
margin-right: 15px; margin-right: 10px;
margin-top: 1px;
i{ i {
font-size: 21px; display: block;
text-align: center;
font-size: 14px;
font-weight: 600;
color: #fff; color: #fff;
margin-left: 2px; position: relative;
top: -1px;
} }
} }
} }
...@@ -128,15 +135,20 @@ $errorseriscolor: #FC615C; ...@@ -128,15 +135,20 @@ $errorseriscolor: #FC615C;
} }
&-buttons { &-buttons {
margin-top: 10px; margin-top: 16px;
} }
.detailsBtn { .detailsBtn {
width: 113px; height: 30px;
height: 32px; font-size: 12px;
color: #fff; color: #fff;
background: $errorseriscolor; background: $errorseriscolor;
border: none; border: none;
border-radius: 6px; border-radius: 6px;
padding: 0 12px;
.ms-Button-label {
font-size: 12px;
}
} }
} }
...@@ -55,12 +55,13 @@ ...@@ -55,12 +55,13 @@
overflow-y: auto; overflow-y: auto;
} }
$checkboxwidth: 17px; $checkboxwidth: 18px;
.detail-check { .detail-check {
.ms-Checkbox-checkbox { .ms-Checkbox-checkbox {
width: $checkboxwidth; width: $checkboxwidth;
height: $checkboxwidth; height: $checkboxwidth;
margin-top: 3px;
border-radius: 50%; border-radius: 50%;
border: none; border: none;
...@@ -69,7 +70,8 @@ $checkboxwidth: 17px; ...@@ -69,7 +70,8 @@ $checkboxwidth: 17px;
} }
i { i {
width: 12px; font-size: 8px;
font-weight: 600;
} }
} }
} }
...@@ -88,4 +90,3 @@ $checkboxwidth: 17px; ...@@ -88,4 +90,3 @@ $checkboxwidth: 17px;
color: #cb4b16; color: #cb4b16;
} }
} }
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