Skip to content

Commit 6aa3d3d

Browse files
committed
aesthetics
1 parent 150cba6 commit 6aa3d3d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

services/static-webserver/client/source/class/osparc/conversation/MessageUI.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ qx.Class.define("osparc.conversation.MessageUI", {
6969
case "thumbnail":
7070
control = new osparc.ui.basic.UserThumbnail(32).set({
7171
marginTop: 4,
72+
alignY: "top",
7273
});
7374
this._add(control, {
7475
row: 0,
@@ -102,15 +103,11 @@ qx.Class.define("osparc.conversation.MessageUI", {
102103
break;
103104
case "message-content": {
104105
// outer bubble
105-
const maxWidth = 300;
106106
const bubble = new qx.ui.container.Composite(new qx.ui.layout.VBox()).set({
107107
decorator: "chat-bubble",
108108
padding: 8,
109-
maxWidth,
110-
});
111-
control = new osparc.ui.markdown.Markdown2().set({
112-
maxWidth,
113109
});
110+
control = new osparc.ui.markdown.Markdown2();
114111
bubble.add(control);
115112
this._add(bubble, {
116113
row: 1,

services/static-webserver/client/source/resource/marked/markdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
.osparc-markdown ul,
1616
.osparc-markdown ol {
1717
margin: .25em 0;
18-
padding-left: 1em;
18+
padding-left: 1.25em;
1919
}
2020
.osparc-markdown li {
2121
margin: 0;

0 commit comments

Comments
 (0)