Updated ErrorPopover, LoadingPopover styles to match all other popovers

• Updated:
- ErrorPopover, LoadingPopover styles to match all other popovers
This commit is contained in:
mgabdev
2020-07-24 19:06:21 -05:00
parent 043fc01cea
commit 78838ff241
3 changed files with 37 additions and 17 deletions

View File

@@ -108,11 +108,17 @@ class PopoverRoot extends PureComponent {
}
renderLoading = () => {
return <LoadingPopover />
const { width } = this.state
const isXS = width <= BREAKPOINT_EXTRA_SMALL
return <LoadingPopover isXS={isXS} onClose={this.props.onClose} />
}
renderError = () => {
return <ErrorPopover />
const { width } = this.state
const isXS = width <= BREAKPOINT_EXTRA_SMALL
return <ErrorPopover isXS={isXS} onClose={this.props.onClose} />
}
render() {