Skip to content

Commit 91d97cc

Browse files
durrankangas
authored andcommitted
INT-1585: Fix text wrap on document list (#462)
1 parent 5813b8c commit 91d97cc

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.tar.gz",
103103
"get-object-path": "azer/get-object-path#74eb42de0cfd02c14ffdd18552f295aba723d394",
104104
"hadron-action": "^0.1.0",
105-
"hadron-app-registry": "^1.10.0",
105+
"hadron-app-registry": "^1.10.1",
106106
"hadron-auto-update-manager": "^0.0.12",
107107
"hadron-compile-cache": "^0.3.0",
108108
"hadron-document": "^0.25.0",

src/app/documents/index.less

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,23 @@ ol.document-list {
6363
}
6464
}
6565

66+
.document-property.string {
67+
vertical-align: top;
68+
}
69+
70+
.document-property-key {
71+
vertical-align: top;
72+
}
73+
74+
.document-property-colon {
75+
vertical-align: top;
76+
}
77+
6678
// add quotes for strings before and after, and some basic type coloring
6779
.document-property.string > .document-property-value {
6880
color: steelblue;
81+
white-space: pre-line;
82+
word-break: break-all;
6983
&::before {
7084
content: "\"";
7185
}

0 commit comments

Comments
 (0)