1
0
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:
Tim Daubenschütz 2015-07-17 10:36:42 +02:00
parent 8cad3b521b
commit 18a37057e5
2 changed files with 10 additions and 4 deletions

View File

@ -17,8 +17,8 @@ let DetailProperty = React.createClass({
getDefaultProps() {
return {
separator: ':',
labelClassName: 'col-xs-5 col-sm-4 col-md-3 col-lg-3',
valueClassName: 'col-xs-7 col-sm-8 col-md-9 col-lg-9'
labelClassName: 'col-xs-3 col-sm-4 col-md-3 col-lg-3',
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'}>
{ this.props.label + this.props.separator}
</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}
</div>
</div>

View File

@ -226,6 +226,12 @@ hr {
font-size: 0.8em;
}
.ascribe-detail-property-value {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
::-webkit-input-placeholder { /* WebKit browsers */
font-size: 0.9em;
font-style: italic;