Style empty state

pull/4068/head
Alex P 2018-07-31 13:56:00 -07:00
parent 697cb96e6b
commit e3596c16e2
2 changed files with 12 additions and 1 deletions

View File

@ -70,3 +70,7 @@
.dash-map--submit { .dash-map--submit {
width: 140px; width: 140px;
} }
.dash-map--empty {
margin-top: 30px;
}

View File

@ -79,7 +79,14 @@ class ImportDashboardMappings extends Component<Props, State> {
} }
private get noMappings(): JSX.Element { private get noMappings(): JSX.Element {
return <div data-test="no-mapping">No source mappings required</div> return (
<div
data-test="no-mapping"
className="generic-empty-state dash-map--empty"
>
<h5>No source mappings required</h5>
</div>
)
} }
private get description(): JSX.Element { private get description(): JSX.Element {