This repository was archived by the owner on Apr 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
packages/visual-stack/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,31 +2,27 @@ import React from 'react';
22import PropTypes from 'prop-types' ;
33import { Button } from '../Button' ;
44import './BlankSlate.css' ;
5- import IconExample from 'mdi-react/BlurIcon' ;
6- import { Panel } from '../../../lib/components/Panel' ;
75
86export const BlankSlate = ( {
97 children,
108 alignment = '' ,
119 title = 'You do not have any content.' ,
12- headerGraphic = < IconExample /> ,
10+ headerGraphic = '' ,
1311 className = '' ,
1412 ...restProps
1513} ) => {
1614 return (
17- < Panel >
18- < div
19- { ...restProps }
20- className = { `vs-bs-container ${ alignment === 'left-side' &&
21- 'vs-bs-leftalign' } ${ className } `}
22- >
23- < div className = "vs-bs-img" > { headerGraphic } </ div >
24- < div className = "vs-bs-content" >
25- < h1 className = "vs-bs-title" > { title } </ h1 >
26- { children }
27- </ div >
15+ < div
16+ { ...restProps }
17+ className = { `vs-bs-container ${ alignment === 'left-side' &&
18+ 'vs-bs-leftalign' } ${ className } `}
19+ >
20+ < div className = "vs-bs-img" > { headerGraphic } </ div >
21+ < div className = "vs-bs-content" >
22+ < h1 className = "vs-bs-title" > { title } </ h1 >
23+ { children }
2824 </ div >
29- </ Panel >
25+ </ div >
3026 ) ;
3127} ;
3228
Original file line number Diff line number Diff line change 4242
4343.vs-topnav-content {
4444 position : relative;
45- margin : 0 auto;
45+ margin-top : 64px ;
46+ margin-bottom : 0 ;
47+ margin-left : auto;
48+ margin-right : auto;
4649 z-index : 10 ;
4750}
4851
You can’t perform that action at this time.
0 commit comments