Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help_pages: Improve anchor highlights.
Karl Stolley0407abc78891
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.cssindex 803f5cb9869..48ad7f0e508 100644--- a/web/styles/portico/portico.css+++ b/web/styles/portico/portico.css@@ -253,6 +253,16 @@ html {& .scroll-target {/* Match to where simplebar scrolls */scroll-margin-top: 20px;+ }+ /* Highlight the headings as well as the first child+ of any targeted div, as in the API documentation. */+ & h1.scroll-target,+ & h2.scroll-target,+ & h3.scroll-target,+ & h4.scroll-target,+ & h5.scroll-target,+ & h6.scroll-target,+ & div.scroll-target > :first-child {/* Increase the highlighted space around the text... */padding: 6px 8px;border-radius: 7px 7px 0 0;