mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
line spacing in info text edited
This commit is contained in:
parent
28ab655505
commit
70eedbabaf
@ -15,17 +15,24 @@ let AclInformationButton = React.createClass({
|
|||||||
let rows = [];
|
let rows = [];
|
||||||
let titleStyle = {
|
let titleStyle = {
|
||||||
color: '#02B6A3',
|
color: '#02B6A3',
|
||||||
fontSize: '11px'
|
fontSize: '11px',
|
||||||
|
lineHeight: '5px'
|
||||||
};
|
};
|
||||||
|
|
||||||
let infoStyle = {
|
let infoStyle = {
|
||||||
color: '#333333',
|
color: '#333333',
|
||||||
fontSize: '11px'
|
fontSize: '11px',
|
||||||
|
lineHeight: '5px'
|
||||||
};
|
};
|
||||||
|
|
||||||
let exampleStyle = {
|
let exampleStyle = {
|
||||||
color: '#B2B2B2',
|
color: '#B2B2B2',
|
||||||
fontSize: '11px'
|
fontSize: '11px',
|
||||||
|
lineHeight: '5px'
|
||||||
|
};
|
||||||
|
|
||||||
|
let paragraphStyle = {
|
||||||
|
margin: '0.1em'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -60,8 +67,8 @@ let AclInformationButton = React.createClass({
|
|||||||
|
|
||||||
let createJSXTextSnippet = function(title, info, example){
|
let createJSXTextSnippet = function(title, info, example){
|
||||||
console.log('creating text snippets');
|
console.log('creating text snippets');
|
||||||
return (<p> <span style={titleStyle}> {title} </span>
|
return (<p style={paragraphStyle}> <span style={titleStyle}> {title} </span>
|
||||||
<span style={infoStyle}> {info} </span><br></br>
|
<span style={infoStyle}> {info} <br/> </span>
|
||||||
<span style={exampleStyle}> {example} </span> </p>);
|
<span style={exampleStyle}> {example} </span> </p>);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user