Skip to content

Commit ff7f878

Browse files
committed
img styling
1 parent 5ce3e7b commit ff7f878

File tree

1 file changed

+9
-0
lines changed
  • services/static-webserver/client/source/resource/marked

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,12 @@
5555
font-weight: 600;
5656
font-size: 1em; /* normalize size inside chat */
5757
}
58+
59+
/* images */
60+
.osparc-markdown img {
61+
max-width: 100%;
62+
height: auto;
63+
display: block; /* avoids weird inline metrics */
64+
margin: .25em 0; /* matches your spacing scale */
65+
border-radius: 4px; /* optional: match bubble style */
66+
}

0 commit comments

Comments
 (0)