Commit 9895b1c3 authored by ns17's avatar ns17

Fixing button "Entenda os Dados"

parent 35202819
......@@ -36,6 +36,8 @@ import '../Styles/AppModal.css'
* __class__: Name for the button; <br />
* __buttonName__: Text label on the button; <br />
* __text__: Text on modal. <br />
* __large__: Larger height for button. <br />
* __style__: Style of button. <br />
*/
class AppModal extends Component {
......@@ -52,7 +54,7 @@ class AppModal extends Component {
<div id={this.props.id}>
<Modal
header={this.props.header}
trigger={<Button flat={this.props.flat} className={this.props.class}>{this.props.buttonName}</Button>}
trigger={<Button flat={this.props.flat} large={this.props.large} style={this.props.style} className={this.props.class}>{this.props.buttonName}</Button>}
actions={
<div>
<Button flat modal="close" waves="light">Fechar</Button>
......
......@@ -122,9 +122,11 @@ class QuotasEducation extends Component {
header={'Entenda os dados'}
flat={true}
class={'right'}
large={true}
style={{display:'flex',color: 'white', background: '#78752e'}}
buttonName={<div style={{display:'flex'}}>
<Icon>info</Icon>
<div style={{marginLeft: 7}}>Entenda os dados</div>
<div style={{marginLeft: 7}}>Clique aqui para entender os dados</div>
</div>}
text={modalText}
/>
......@@ -419,4 +421,4 @@ const modalText = <span id={'modalTextEscolaridade'}>
</span>;
export default QuotasEducation;
\ No newline at end of file
export default QuotasEducation;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment