mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
fix edition id that was breaking viewport on mobile
This commit is contained in:
parent
8cad3b521b
commit
18a37057e5
@ -17,8 +17,8 @@ let DetailProperty = React.createClass({
|
|||||||
getDefaultProps() {
|
getDefaultProps() {
|
||||||
return {
|
return {
|
||||||
separator: ':',
|
separator: ':',
|
||||||
labelClassName: 'col-xs-5 col-sm-4 col-md-3 col-lg-3',
|
labelClassName: 'col-xs-3 col-sm-4 col-md-3 col-lg-3',
|
||||||
valueClassName: 'col-xs-7 col-sm-8 col-md-9 col-lg-9'
|
valueClassName: 'col-xs-9 col-sm-8 col-md-9 col-lg-9'
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ let DetailProperty = React.createClass({
|
|||||||
<div className={this.props.labelClassName + ' col-xs-height col-bottom ascribe-detail-property-label'}>
|
<div className={this.props.labelClassName + ' col-xs-height col-bottom ascribe-detail-property-label'}>
|
||||||
{ this.props.label + this.props.separator}
|
{ this.props.label + this.props.separator}
|
||||||
</div>
|
</div>
|
||||||
<div className={this.props.valueClassName + ' col-xs-height col-bottom'}>
|
<div className={this.props.valueClassName + ' col-xs-height col-bottom ascribe-detail-property-value'}>
|
||||||
{value}
|
{value}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -222,10 +222,16 @@ hr {
|
|||||||
padding-bottom: 0.4em;
|
padding-bottom: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ascribe-detail-property-label{
|
.ascribe-detail-property-label {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ascribe-detail-property-value {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
::-webkit-input-placeholder { /* WebKit browsers */
|
::-webkit-input-placeholder { /* WebKit browsers */
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
Loading…
Reference in New Issue
Block a user