File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div class =" nav-container" >
3- <Menu mode="horizontal " @on-select = " go " >
4- <a class = " logo" @click = " $router.push('/') " >
5- < img src = " /static/logo/biocontainers-logo.png " width = " 40 " height = " 40 " alt = " " /> BioContainers
6- </ a >
3+ <a class = " logo " @click = " $router.push('/') " >
4+ <img src = " /static/ logo/biocontainers-logo.png " width = " 40 " height = " 40 " alt = " " /> BioContainers
5+ </ a >
6+ < Menu mode="horizontal" class="na v-menu " @ on-select = " go " >
77 <MenuItem name="/registry"><Icon type="ios-search" /> Registry</MenuItem >
88 <MenuItem name="docs"><Icon type="ios-information-circle-outline" /> Documentation</MenuItem >
99 <MenuItem name="github"><Icon type="logo-github" /> GitHub</MenuItem >
@@ -26,14 +26,29 @@ function go(name) {
2626
2727<style scoped>
2828.nav-container {
29- border-bottom : 1px solid #e8eaec ;
29+ display : flex ;
30+ align-items : center ;
31+ border-bottom : 1px solid #dcdee2 ;
32+ padding : 0 8px ;
3033}
3134.logo {
3235 font-size : 14px ;
33- padding : 0 16px ;
3436 display : inline-flex ;
3537 align-items : center ;
3638 gap : 8px ;
3739 cursor : pointer ;
40+ padding : 0 8px ;
41+ white-space : nowrap ;
42+ }
43+ /* push the menu (Registry / Documentation / GitHub) to the right */
44+ .nav-menu {
45+ margin-left : auto ;
46+ }
47+ /* the container already draws the full-width bottom line */
48+ .nav-menu :deep(.ivu-menu ) {
49+ background : transparent ;
50+ }
51+ .nav-menu.ivu-menu-horizontal ::after {
52+ display : none ;
3853}
3954 </style >
You can’t perform that action at this time.
0 commit comments