Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

portico: Fix line-wrapping of bulleted lists with 2-digit numbers.

Tim Abbotte1aa7dd88237
diff --git a/static/styles/portico/markdown.css b/static/styles/portico/markdown.css
index 3faf687a31c..14a605c7d70 100644
--- a/static/styles/portico/markdown.css
+++ b/static/styles/portico/markdown.css
@@ -112,7 +112,8 @@
& > p {
display: inline-block;
vertical-align: top;
- max-width: calc(100% - 32px);
+ /* This needs to be wide enough for 2-digit numbers. */
+ max-width: calc(100% - 40px);
position: relative;
top: -2px;
}