Skip to content

Commit

Permalink
fixed navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Forster-Groux committed Jan 14, 2021
1 parent 43b67ff commit d943c70
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion front-end/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<template>
<TheNavbar/>

<router-view/>
<div id="router-view">
<router-view/>
</div>

<TheFooter/>
</template>
Expand Down Expand Up @@ -34,4 +36,8 @@ export default {
text-align: center;
color: #2c3e50;
}
#router-view {
margin-top: 100px;
}
</style>
7 changes: 6 additions & 1 deletion front-end/src/components/TheNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ a {
}
#navbar {
top: 0;
z-index: 1000;
position: fixed;
width: 96%;
padding: 10px 2%;
display: flex;
justify-content: space-between;
padding: 10px 50px;
border-bottom: 1px solid #E1E1E1;
background-color: white;
}
#goto-landing {
Expand Down

0 comments on commit d943c70

Please sign in to comment.