web: wrap content tree debug so messages aren't super wide
This commit is contained in:
parent
e0890f1181
commit
37eb3d1dfd
@ -158,6 +158,9 @@ blockquote[type="cite"],
|
||||
margin-left: .5em;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.content-tree {
|
||||
white-space: pre-line;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
@ -292,7 +292,10 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
||||
contents,
|
||||
content_tree,
|
||||
},
|
||||
) => div![raw_text_message(&contents), pre![content_tree]],
|
||||
) => div![
|
||||
raw_text_message(&contents),
|
||||
pre![C!["content-tree"], content_tree]
|
||||
],
|
||||
ShowThreadQueryThreadMessagesBody::Html(
|
||||
ShowThreadQueryThreadMessagesBodyOnHtml {
|
||||
contents,
|
||||
@ -310,7 +313,7 @@ fn thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
||||
.iter()
|
||||
.map(|a| div!["Filename: ", &a.filename, " ", &a.content_type])
|
||||
]),
|
||||
pre![content_tree]
|
||||
pre![C!["content-tree"], content_tree]
|
||||
],
|
||||
}
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user