diff --git a/data/menu/more.yml b/data/menu/more.yml index d07ede48f7..71d3af8b0f 100644 --- a/data/menu/more.yml +++ b/data/menu/more.yml @@ -8,7 +8,7 @@ more: - name: TrueNAS Connect ref: "https://connect.truenas.com/" external: true - icon: "gdoc_arrow_right_alt" + icon: "" - name: TrueNAS API Docs ref: "https://api.truenas.com/" external: true diff --git a/static/custom.css b/static/custom.css index 89ea453133..5a7fd4aaa3 100644 --- a/static/custom.css +++ b/static/custom.css @@ -2618,7 +2618,9 @@ pre.gdoc-mermaid.mermaid.mermaid_sizing { text-decoration: none !important; margin: -.5em !important; transition: all 0.3s ease !important; - width: auto !important; + width: 75% !important; + min-height: 40px !important; + box-sizing: border-box !important; } /* Remove styling from the inner link since parent span is now the button */ @@ -2668,6 +2670,16 @@ pre.gdoc-mermaid.mermaid.mermaid_sizing { fill: white !important; } +/* Style the TrueNAS Connect button (nth-child(2)) - no icon, but same dimensions */ +.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) svg.gdoc-icon { + display: none !important; /* Hide any empty icon elements */ +} + +/* Ensure Connect button text is properly centered without icon */ +.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) span.flex { + gap: 0 !important; /* Remove any gap since there's no icon */ +} + /* Reorder the menu items - move Apps Market to the very top */ .gdoc-nav section:last-child .gdoc-nav__list { display: flex !important;