1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

Minor layouting fixes

This commit is contained in:
Tim Daubenschütz 2015-10-20 15:51:22 +02:00
parent ca03fca14a
commit beee069d3f
2 changed files with 5 additions and 2 deletions

View File

@ -170,8 +170,7 @@ let AclButton = React.createClass({
<ModalWrapper <ModalWrapper
trigger={ trigger={
<button <button
className={'btn btn-default btn-sm ' + buttonClassName} className={shouldDisplay ? 'btn btn-default btn-sm ' + buttonClassName : 'hidden'}>
disabled={!shouldDisplay}>
{this.sanitizeAction()} {this.sanitizeAction()}
</button> </button>
} }

View File

@ -1,3 +1,7 @@
.modal-body {
padding-top:0;
}
.modal-header { .modal-header {
padding: 15px 15px 0 15px; padding: 15px 15px 0 15px;
border-bottom: none; border-bottom: none;