diff --git a/js/components/ascribe_buttons/acl_information_button.js b/js/components/ascribe_buttons/acl_information_button.js index 9d637c70..c9874c95 100644 --- a/js/components/ascribe_buttons/acl_information_button.js +++ b/js/components/ascribe_buttons/acl_information_button.js @@ -1,38 +1,38 @@ -/** - * Created by cevo on 23.09.15. - */ + 'use strict'; import React from 'react'; import classnames from 'classnames'; -import DropdownButton from 'react-bootstrap/lib/Button'; - +import { getLangText } from '../../utils/lang_utils'; +import Button from 'react-bootstrap/lib/Button'; let AclInformationButton = React.createClass({ - getDefaultProps: function() { + getDefaultProps() { let rows = []; let titleStyle = { color: '#02B6A3', fontSize: '11px', - lineHeight: '5px' + lineHeight: '3px' }; let infoStyle = { color: '#333333', fontSize: '11px', - lineHeight: '5px' + lineHeight: '3px' }; let exampleStyle = { color: '#B2B2B2', fontSize: '11px', - lineHeight: '5px' + lineHeight: '3px' }; let paragraphStyle = { - margin: '0.1em' + margin: '0.1em', + lineHeight: '15px' + }; @@ -66,14 +66,14 @@ let AclInformationButton = React.createClass({ console.log('Now will initialize the rows prop inside default props'); let createJSXTextSnippet = function(title, info, example){ - console.log('creating text snippets'); return (
{title}
{info}
{example}