forked from p15670423/monkey
Improved back button
This commit is contained in:
parent
841f542c6b
commit
d3f0dc2a75
|
@ -7,7 +7,7 @@ import {faCaretLeft} from '@fortawesome/free-solid-svg-icons/faCaretLeft';
|
|||
export default function backButton(props) {
|
||||
return (
|
||||
<Row>
|
||||
<Col>
|
||||
<Col lg={3} md={4} sm={4} xs={12}>
|
||||
<Button variant={'outline-dark'} onClick={props.onClick} className={'back-button'}>
|
||||
<FontAwesomeIcon icon={faCaretLeft} />
|
||||
<h1>Back</h1>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
.inline-selection-component .back-button {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.inline-selection-component .back-button h1{
|
||||
|
|
Loading…
Reference in New Issue