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:
parent
e5210a8410
commit
70bf11dd6c
@ -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'
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user