Skip to content

Commit 336caf9

Browse files
committed
INT-1585: Fix text wrap on document list (#462)
1 parent 8d1d670 commit 336caf9

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
@@ -101,7 +101,7 @@
101101
"font-awesome": "https://github.com/FortAwesome/Font-Awesome/archive/v4.4.0.tar.gz",
102102
"get-object-path": "azer/get-object-path#74eb42de0cfd02c14ffdd18552f295aba723d394",
103103
"hadron-action": "^0.1.0",
104-
"hadron-app-registry": "^1.10.0",
104+
"hadron-app-registry": "^1.10.1",
105105
"hadron-auto-update-manager": "^0.0.12",
106106
"hadron-compile-cache": "^0.3.0",
107107
"hadron-document": "^0.25.0",

src/app/documents/index.less

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

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

0 commit comments

Comments
 (0)