From c94f29eff4a25487133cee1bb23757bc34c8d748 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Thu, 2 Nov 2023 13:08:10 +0100 Subject: [PATCH 1/6] fix(macros): add "no-link" class to text section titles Link section titles have two additional CSS properties that caused them to be positioned differently than pure text section titles. --- kumascript/macros/CSSRef.ejs | 4 ++-- kumascript/macros/HTMLSidebar.ejs | 2 +- kumascript/macros/HTTPSidebar.ejs | 4 ++-- kumascript/macros/JSRef.ejs | 4 ++-- kumascript/macros/MathMLRef.ejs | 6 +++--- kumascript/macros/SVGRef.ejs | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/kumascript/macros/CSSRef.ejs b/kumascript/macros/CSSRef.ejs index fa5cd267f43a..be310f50c468 100644 --- a/kumascript/macros/CSSRef.ejs +++ b/kumascript/macros/CSSRef.ejs @@ -1182,7 +1182,7 @@ async function buildPropertylist(pages, title) { <%-await buildSublist(functions, 'Functions');%> <%-await buildSublist(types, 'Types');%> -
  • <%=text['Guides']%>
  • +
  • <%=text['Animations']%> @@ -1420,7 +1420,7 @@ async function buildPropertylist(pages, title) {
  • -
  • <%=text['Tools']%>
  • +
    1. <%-smartLink(`${cssURL}CSS_Colors/Color_picker_tool`, null, text['Color_picker_tool'], cssURL)%>
    2. diff --git a/kumascript/macros/HTMLSidebar.ejs b/kumascript/macros/HTMLSidebar.ejs index 9bb3f6b0428d..f97dfc886999 100644 --- a/kumascript/macros/HTMLSidebar.ejs +++ b/kumascript/macros/HTMLSidebar.ejs @@ -400,7 +400,7 @@ var text = mdn.localStringMap({ <%-await template("ListSubpagesForSidebar", ['/en-US/docs/Web/HTML/Element/input'])%> -
    3. <%=text['Guides']%>
    4. +
      1. <%=text["Content_categories"]%>
      2. diff --git a/kumascript/macros/HTTPSidebar.ejs b/kumascript/macros/HTTPSidebar.ejs index 590397b79cc9..11484ff37f2e 100644 --- a/kumascript/macros/HTTPSidebar.ejs +++ b/kumascript/macros/HTTPSidebar.ejs @@ -288,7 +288,7 @@ var text = mdn.localStringMap({