mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
added padding, closes #244
This commit is contained in:
parent
5567bb433c
commit
51fafbf61b
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ class ToolboxItem extends React.Component {
|
|||
if (this.props.disabled === false) {
|
||||
return this.props.connectDragSource(
|
||||
<div className={itemClass}>
|
||||
<span className="btn btn-outline-info ">
|
||||
<span className="btn btn-outline-info " style={{marginTop: '5px'}}>
|
||||
{this.props.icon && <Icon style={{marginRight: '5px'}} icon={this.props.icon} /> }
|
||||
{this.props.name}
|
||||
</span>
|
||||
|
@ -61,7 +61,7 @@ class ToolboxItem extends React.Component {
|
|||
else {
|
||||
return (
|
||||
<div className={itemClass}>
|
||||
<span className="btn btn-info">
|
||||
<span className="btn btn-info" style={{marginTop: '5px'}}>
|
||||
{this.props.icon && <Icon style={{marginRight: '5px'}} icon={this.props.icon} /> }
|
||||
{this.props.name}
|
||||
</span>
|
||||
|
|
|
@ -70,7 +70,7 @@ class WidgetToolbox extends React.Component {
|
|||
<div className='section-buttons-group-right'>
|
||||
<div>
|
||||
<OverlayTrigger key={0} placement={'bottom'} overlay={<Tooltip id={`tooltip-${"increase"}`}> Increase dashboard height </Tooltip>} >
|
||||
<Button variant="light" key={0} onClick={() => this.props.onDashboardSizeChange(1)} >
|
||||
<Button variant="light" key={0} style={{marginRight: '3px'}} onClick={() => this.props.onDashboardSizeChange(1)} >
|
||||
<Icon icon="plus" />
|
||||
</Button>
|
||||
</OverlayTrigger>
|
||||
|
|
Loading…
Add table
Reference in a new issue