1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

Generalize left and right button containers

This commit is contained in:
Brett Sun 2015-12-22 10:02:34 +01:00
parent e5210a8410
commit 70bf11dd6c
3 changed files with 12 additions and 12 deletions

View File

@ -163,12 +163,12 @@ let CylandRegisterPiece = React.createClass({
const loanHeading = getLangText('Loan to Cyland archive');
const loanButtons = (
<div>
<div className='col-xs-6 ascribe-form-btn-container-left'>
<div className='col-xs-6 ascribe-btn-container-left'>
<button className='btn btn-default btn-wide'>
{getLangText('Loan to archive')}
</button>
</div>
<div className='col-xs-6 ascribe-form-btn-container-right'>
<div className='col-xs-6 ascribe-btn-container-right'>
<LinkContainer to='/collection'>
<button
type='button'

View File

@ -2,6 +2,16 @@
// thought of the day:
// "every great atrocity is the result of people just following orders"
.ascribe-btn-container-left {
float: left;
padding: 0 2px 2px 0;
}
.ascribe-btn-container-right {
float: right;
padding: 0 0 2px 2px;
}
.btn {
font-weight: $ascribe--font-weight-light;
}

View File

@ -24,13 +24,3 @@
width: 100%;
}
}
.ascribe-form-btn-container-left {
float: left;
padding: 0 2px 2px 0;
}
.ascribe-form-btn-container-right {
float: right;
padding: 0 0 2px 2px;
}