提交 6271624d 编写于 作者: P Piotr Bryk

Merge pull request #226 from bryk/description

Preserve whitespaces and avoid overflow in app description
......@@ -50,9 +50,7 @@ limitations under the License.
<div ng-if="::ctrl.replicaSet.description" flex="100" layout="column"
class="kd-replicaset-card-section">
<span flex class="kd-replicaset-card-section-title">Description</span>
<div flex>
{{::ctrl.replicaSet.description}}
</div>
<div flex class="kd-replicaset-card-description">{{::ctrl.replicaSet.description}}</div>
</div>
<div flex="60" layout="column" class="kd-replicaset-card-section">
......
......@@ -30,6 +30,11 @@
margin: 0;
}
.kd-replicaset-card-description {
overflow: auto;
white-space: pre-wrap;
}
.kd-replicaset-card-title-row {
margin-top: -$baseline-grid - 2px;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册