Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Add vertical scrollbar styling for view-source textarea.
Sumanth V Raoadfe4cacc610
diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.cssindex 5e92c3adf7e..95b3cdc2aaa 100644--- a/static/styles/rendered_markdown.css+++ b/static/styles/rendered_markdown.css@@ -563,22 +563,26 @@ pre {white-space: inherit;}-/* Ensure the horizontal scrollbar is visible on Mac */-pre::-webkit-scrollbar {- height: 8px;-- background-color: hsla(0, 0%, 0%, 0.05);-}--pre::-webkit-scrollbar-thumb {- background-color: hsla(0, 0%, 0%, 0.3);- border-radius: 20px;+/* Both the horizontal scrollbar in <pre/> as well as+ vertical scrollbar in the <textarea/> is styled similarly. */+#message_edit_form textarea,+pre {+ /* Ensure the horizontal scrollbar is visible on Mac */+ &::-webkit-scrollbar {+ height: 8px;+ width: 10px;+ background-color: hsla(0, 0%, 0%, 0.05);+ }- transition: all 0.2s ease;-}+ &::-webkit-scrollbar-thumb {+ background-color: hsla(0, 0%, 0%, 0.3);+ border-radius: 20px;+ transition: all 0.2s ease;+ }-pre::-webkit-scrollbar-thumb:hover {- background-color: hsla(0, 0%, 0%, 0.6);+ &::-webkit-scrollbar-thumb:hover {+ background-color: hsla(0, 0%, 0%, 0.6);+ }}pre code {