From 945d3fbe632d74da4550bc995fa582777b9224f2 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Fri, 25 Mar 2022 14:40:13 -0700 Subject: [PATCH] client: show header link icon on mobile --- client/components/preview/preview.module.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/components/preview/preview.module.css b/client/components/preview/preview.module.css index 28111ce0..b41868cb 100644 --- a/client/components/preview/preview.module.css +++ b/client/components/preview/preview.module.css @@ -110,3 +110,18 @@ max-width: 100%; max-height: 350px; } + +@media screen and (max-width: 800px) { + .markdownPreview h1 a::after, + .markdownPreview h2 a::after, + .markdownPreview h3 a::after, + .markdownPreview h4 a::after, + .markdownPreview h5 a::after, + .markdownPreview h6 a::after { + content: "#"; + font-size: 0.7em; + margin-left: 0.25em; + font-weight: normal; + filter: opacity(0.5); + } +}