diff --git a/js/components/ascribe_detail/detail_property.js b/js/components/ascribe_detail/detail_property.js index 943f9c1e..d293f6a3 100644 --- a/js/components/ascribe_detail/detail_property.js +++ b/js/components/ascribe_detail/detail_property.js @@ -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({
{ this.props.label + this.props.separator}
-
+
{value}
diff --git a/sass/main.scss b/sass/main.scss index ae3ef98f..e9c742b4 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -222,10 +222,16 @@ hr { padding-bottom: 0.4em; } -.ascribe-detail-property-label{ +.ascribe-detail-property-label { 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;