diff --git a/ui/src/css/nav.css b/ui/src/css/nav.css index 4c9fa7e..a00ada1 100644 --- a/ui/src/css/nav.css +++ b/ui/src/css/nav.css @@ -258,7 +258,7 @@ display: flex; flex-wrap: wrap; padding-left: 0; - margin-top: -0.25rem; + margin: -0.25rem -0.375rem 0 0.375rem; line-height: 1; list-style: none; } @@ -268,16 +268,17 @@ } .nav-panel-explore .component .version a { - border: 1px solid var(--nav-border-color); + background: var(--nav-border-color); border-radius: 0.25rem; - opacity: 0.75; white-space: nowrap; - padding: 0.125em 0.25em; + padding: 0.25em 0.5em; display: inherit; + opacity: 0.75; } .nav-panel-explore .component .is-current a { - border-color: currentColor; - opacity: 0.9; + background: var(--nav-heading-font-color); + color: var(--nav-secondary-background); font-weight: var(--body-font-weight-bold); + opacity: 1; } diff --git a/ui/src/partials/nav-explore.hbs b/ui/src/partials/nav-explore.hbs index 730b5f2..b0406d1 100644 --- a/ui/src/partials/nav-explore.hbs +++ b/ui/src/partials/nav-explore.hbs @@ -2,13 +2,14 @@ {{#if page.component}}
{{page.component.title}} - {{page.componentVersion.displayVersion}} + {{#if (or page.componentVersion.version (ne page.componentVersion.displayVersion 'default'))}}{{page.componentVersion.displayVersion}}{{/if}}
{{/if}}