File tree Expand file tree Collapse file tree 2 files changed +39
-31
lines changed Expand file tree Collapse file tree 2 files changed +39
-31
lines changed Original file line number Diff line number Diff line change @@ -488,39 +488,47 @@ ol li:last-child {
488488 }
489489 }
490490
491- > ul {
492- padding : 0 ;
493- }
494- }
491+ .header__f5sites {
492+ li .nav-item-explore {
493+ margin : 0 ;
494+ position : relative;
495+ display : inline-block;
496+ }
495497
496- .dropdown-content {
497- position : absolute;
498- background-color : oklch (var (--color-background ));
499- border : oklch (var (--color-foreground )) 1px solid;
500- box-shadow : 3px 3px 0px oklch (var (--color-shadow ));
501- z-index : 1 ;
502- right : 0 ;
503- display : none;
504- width : 400px ;
505- max-width : 80vw ;
506- margin-right : 1rem ;
507- }
498+ .dropdown-button {
499+ padding : 0.5rem 0.5rem ;
500+ border : none;
501+ text-align : center;
502+ text-decoration : none;
503+ cursor : pointer;
504+ }
508505
509- .dropdown-content ul {
510- padding : 20px 10px ;
511- }
506+ .dropdown-content {
507+ position : absolute;
508+ background-color : oklch (var (--color-background ));
509+ border : oklch (var (--color-foreground )) 1px solid;
510+ box-shadow : 3px 3px 0px oklch (var (--color-shadow ));
511+ z-index : 1 ;
512+ right : 0 ;
513+ display : none;
514+ width : 400px ;
515+ max-width : 80vw ;
516+ margin-block-start : 0.5rem ;
512517
513- . nav-item-explore {
514- margin : 0 ;
515- }
518+ ul {
519+ padding : 20 px 10 px ;
520+ margin : 0.5 rem 1 rem ;
516521
517- .navbar-button {
518- padding : 0.5rem 0.5rem ;
519- border : none;
520- border-radius : 0.25rem ;
521- text-align : center;
522- text-decoration : none;
523- cursor : pointer;
522+ li : first-child {
523+ margin-block-start : 0 ;
524+ }
525+ }
526+ }
527+ }
528+
529+ > ul {
530+ padding : 0 ;
531+ }
524532 }
525533
526534 ul {
Original file line number Diff line number Diff line change 9393
9494 < ul class ="navbar navbar-nav ">
9595 < li class ="nav-item-explore active ">
96- < button id ="navbar-sites-button " class ="button navbar-button ">
96+ < button id ="navbar-sites-button " class ="button navbar-button dropdown-button " data-testid =" header__f5sites_button ">
9797 F5 Sites
9898 < i id ="navbar-sites-button-icon " class ="link-chevron-icon fa-solid fa-chevron-down "> </ i >
9999 </ button >
100- < div class ="dropdown-content " id ="dropdown-content ">
100+ < div class ="dropdown-content " id ="dropdown-content " data-testid =" header__f5sites_content " >
101101 < ul >
102102 {{ range $f5Sites }}
103103 < li >
You can’t perform that action at this time.
0 commit comments