From a1062d5922a2bc9160fc2a2068024eb9bf59c85d Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:31:15 +0000 Subject: [PATCH 1/2] Fix changelog icon CSS to only target sidebar links Updated the CSS selector from 'a[href$="changelog"] svg' to '.fern-sidebar-link.nested[href$="changelog"] > svg' to specifically target only the SVG icon within the sidebar changelog link. This prevents the rule from inadvertently hiding all SVGs on changelog pages that have links attached to them, while still hiding the changelog icon in the sidebar navigation as intended. Co-Authored-By: Kapil Gowru --- fern/assets/styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fern/assets/styles.css b/fern/assets/styles.css index 831be6076..d03d05b47 100644 --- a/fern/assets/styles.css +++ b/fern/assets/styles.css @@ -1104,6 +1104,6 @@ h1, h2, h3 { /*** END -- FERN EDITOR STYLING ***/ /* HACK: hide the changelog icon for changelog pages */ -a[href$="changelog"] svg { +.fern-sidebar-link.nested[href$="changelog"] > svg { display: none; -} \ No newline at end of file +} From bacaec8572aa717cc552b0ad8897b949e5474e1c Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:43:40 +0000 Subject: [PATCH 2/2] Remove .nested requirement from changelog icon CSS selector Updated selector from '.fern-sidebar-link.nested[href$="changelog"]' to '.fern-sidebar-link[href$="changelog"]' to apply to all sidebar changelog links regardless of whether they have the nested class. Co-Authored-By: Kapil Gowru --- fern/assets/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/assets/styles.css b/fern/assets/styles.css index d03d05b47..66852b0f7 100644 --- a/fern/assets/styles.css +++ b/fern/assets/styles.css @@ -1104,6 +1104,6 @@ h1, h2, h3 { /*** END -- FERN EDITOR STYLING ***/ /* HACK: hide the changelog icon for changelog pages */ -.fern-sidebar-link.nested[href$="changelog"] > svg { +.fern-sidebar-link[href$="changelog"] > svg { display: none; }