Skip to content

Commit

Permalink
Feature/fixed bottom (chingu-voyage6#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamiUrias authored and nandub committed Aug 7, 2018
1 parent 0c9ce8b commit 0808734
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<WelcomeHeader/>
<router-view/>
</div>
<DiiaryFooter/>
<DiiaryFooter v-bind:class="{'fixed-bottom': $route.path === '/home'}" />
</div>
</template>

Expand All @@ -31,6 +31,17 @@ export default {
color: #fff;
}
.fixed-bottom {
position: fixed;
bottom: 0;
right: 0;
left: 0;
z-index: 1030;
}
.margin-bottom-60 {
margin-bottom: 60px;
}
/* Google font import */
@import url("https://fonts.googleapis.com/css?family=Alegreya|Lato|Roboto|Macondo+Swash+Caps");
/* To include jquery
Expand Down
1 change: 1 addition & 0 deletions client/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ input {
}
.feed-view {
margin-top: 20px;
margin-bottom: 40px;
}
.fa-heart {
padding: 0 10px 10px 0;
Expand Down

0 comments on commit 0808734

Please sign in to comment.