mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
fix(ui): add more margin between text and the icon
This commit is contained in:
@@ -20,7 +20,7 @@ const InternalError: StatelessComponent<InternalErrorProps> = props => (
|
||||
<div className="jumbotron text-center bg-primary my-4">
|
||||
<div className="container-fluid">
|
||||
<h1 className="display-1 my-5">
|
||||
<FontAwesomeIcon className="text-danger mr-2" icon={faBomb} />
|
||||
<FontAwesomeIcon className="text-danger mr-4" icon={faBomb} />
|
||||
<span className="text-muted">Internal error</span>
|
||||
</h1>
|
||||
<p className="lead text-white bg-secondary px-1 py-3 rounded">
|
||||
@@ -102,4 +102,4 @@ class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
||||
}
|
||||
}
|
||||
|
||||
export { ErrorBoundary };
|
||||
export { ErrorBoundary, InternalError };
|
||||
|
||||
@@ -9,7 +9,7 @@ exports[`<ErrorBoundary /> matches snapshot 1`] = `
|
||||
focusable=\\"false\\"
|
||||
data-prefix=\\"fas\\"
|
||||
data-icon=\\"bomb\\"
|
||||
class=\\"svg-inline--fa fa-bomb fa-w-16 text-danger mr-2\\"
|
||||
class=\\"svg-inline--fa fa-bomb fa-w-16 text-danger mr-4\\"
|
||||
role=\\"img\\"
|
||||
xmlns=\\"http://www.w3.org/2000/svg\\"
|
||||
viewbox=\\"0 0 512 512\\"
|
||||
|
||||
Reference in New Issue
Block a user