File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,16 @@ a.navbar-item.has-dropdown::after,
173173 grid-column : 1 / 3 ;
174174}
175175
176+ .navbar-dropdown li .current {
177+ font-weight : var (--weight-medium );
178+ }
179+
180+ .navbar-dropdown li .current a .navbar-item ::before {
181+ content : "\2023" ;
182+ position : absolute;
183+ left : -0.75em ;
184+ }
185+
176186@media screen and (min-width : 1024px ) {
177187 .navbar-start > a .navbar-item : hover ,
178188 .navbar-start > .navbar-item : hover > .navbar-link {
Original file line number Diff line number Diff line change 6161 <div class =" cols" >
6262 <ul >
6363 {{ #each page.versions }}
64- {{ #unless (eq ./version @root.page.version )}}
65- <li ><a class =" navbar-item" href =" {{ relativize ./url }} " >{{{ @root.page.component.title }}} {{ ./displayVersion }} </a ></li >
66- {{ /unless }}
64+ <li {{ #if (eq ./version @root.page.version )}} class =" current" {{ /if }} ><a class =" navbar-item" href =" {{ relativize ./url }} " >{{{ @root.page.component.title }}} {{ ./displayVersion }} </a ></li >
6765 {{ /each }}
6866 </ul >
6967 {{ #if (ends-with page.component.name ' -sdk' )}}
You can’t perform that action at this time.
0 commit comments