Browse Source

tweaks to chat message CSS stylings for lists (#3449)

tobitege 1 năm trước cách đây
mục cha
commit
733bf2b38c
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      frontend/src/index.css

+ 7 - 0
frontend/src/index.css

@@ -45,9 +45,16 @@ code {
   white-space: pre-wrap; /* Handles line breaks */
 }
 
+.markdown-body ol {
+  list-style-type: decimal; /* Handles numbered lists */
+  margin-left: 20px;
+  padding-left: 0.5em; /* Adds some indentation */
+}
+
 .markdown-body ul {
   list-style-type: disc; /* Handles bullet points */
   margin-left: 20px;
+  padding-left: 0.5em; /* Adds some indentation */
 }
 
 .markdown-body th {