litte style changes

This commit is contained in:
Clemens 2016-08-03 15:40:23 +02:00
parent e036bc9304
commit fd7b6b958e
3 changed files with 7 additions and 3 deletions

View File

@ -69,6 +69,10 @@
margin-top: 10px;
}
.view-all-content-btn{
float: right;
}
.flow-detail table {
.monospace();
width: 100%;

View File

@ -14,7 +14,7 @@ ShowFullContentButton.propTypes = {
function ShowFullContentButton ( {setShowFullContent, showFullContent} ){
return (
!showFullContent && <Button isXs={true} onClick={() => setShowFullContent(true)} text="Show full content"/>
!showFullContent && <Button className="view-all-content-btn" isXs={true} onClick={() => setShowFullContent(true)} text="Show full content"/>
)
}

View File

@ -7,9 +7,9 @@ Button.propTypes = {
icon: PropTypes.string
}
export default function Button({ onClick, text, icon, disabled, isXs }) {
export default function Button({ onClick, text, icon, disabled, isXs, className }) {
return (
<div className={classnames('btn btn-default', { 'btn-xs': isXs})}
<div className={classnames(className, 'btn btn-default', { 'btn-xs': isXs})}
onClick={onClick}
disabled={disabled}>
{icon && (<i className={"fa fa-fw " + icon}/> )}