Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Add styling for code_external_link hyperlink.
Sumanth V Rao918b1ea61dd9
diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.cssindex 9bd8a40a55b..4538afca800 100644--- a/static/styles/rendered_markdown.css+++ b/static/styles/rendered_markdown.css@@ -451,7 +451,7 @@pre {&:hover .copy_codeblock,- &:focus-within .copy_codeblock {+ &:hover .code_external_link {visibility: visible;}}@@ -479,6 +479,21 @@.copy_codeblock:hover svg path {fill: hsl(200, 100%, 40%);}++ .code_external_link {+ visibility: hidden;+ position: absolute;+ right: 23px;+ margin-top: -2px;+ font-size: 1.2em;+ /* The default icon and on-hover colors are inherited from <a> tag.+ so we set our own to match the copy-to-clipbord icon */+ color: hsl(0, 0%, 47%);++ &:hover {+ color: hsl(200, 100%, 40%);+ }+ }}.preview_content .copy_codeblock {@@ -489,6 +504,10 @@display: none;}+.preview_content .code_external_link {+ right: 12px;+}+@media (max-width: 600px) {.rendered_markdown .message_embed {height: auto;