Skip to content

Commit a1062d5

Browse files
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 <[email protected]>
1 parent 6239bbd commit a1062d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fern/assets/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,6 @@ h1, h2, h3 {
11041104
/*** END -- FERN EDITOR STYLING ***/
11051105

11061106
/* HACK: hide the changelog icon for changelog pages */
1107-
a[href$="changelog"] svg {
1107+
.fern-sidebar-link.nested[href$="changelog"] > svg {
11081108
display: none;
1109-
}
1109+
}

0 commit comments

Comments
 (0)