menu in mobile view

pull/24/head
Akhil Gupta 4 years ago
parent 6319fdf86f
commit f799df5a6b

@ -8,6 +8,7 @@
{{template "commoncss"}} {{template "commoncss"}}
<style> <style>
[v-cloak] { display: none } [v-cloak] { display: none }
</style> </style>
</head> </head>
@ -48,7 +49,8 @@
<progress v-if="searching" class="u-full-width"></progress> <progress v-if="searching" class="u-full-width"></progress>
<div class="results"> <div class="results">
<div v-for="item in results" :key="item.url" class="row"> <div v-for="item in results" :key="item.url">
<div class="row">
<div class="columns two"> <div class="columns two">
<img class="u-full-width" :src="item.image" :alt="item.title"> <img class="u-full-width" :src="item.image" :alt="item.title">
</div> </div>
@ -59,7 +61,11 @@
</div> </div>
<div class="columns one"> <div class="columns one">
<button v-if="!item.already_saved" v-on:click="addPodcast(item)" class="button button-primary">+ Add</button > <button v-if="!item.already_saved" v-on:click="addPodcast(item)" class="button button-primary">+ Add</button >
<button v-if="item.already_saved" class="button" disabled="disabled">Already Added</button >
</div>
</div> </div>
<hr>
</div> </div>
</div> </div>
</div> </div>

@ -1,7 +1,7 @@
{{define "navbar"}} {{define "navbar"}}
<style> <style>
/* Larger than tablet */ /* Larger than tablet */
@media (min-width: 750px) {
.navbar + .docs-section { .navbar + .docs-section {
border-top-width: 0; } border-top-width: 0; }
.navbar, .navbar,
@ -44,6 +44,11 @@
/* Re-overiding the width 100% declaration to match size of % based container */ /* Re-overiding the width 100% declaration to match size of % based container */
.has-docked-nav .navbar > .container { .has-docked-nav .navbar > .container {
width: 80%; } width: 80%; }
/* } */
@media (max-width: 750px) {
.navbar-link{
margin-right: 1.5em;
}
} }
</style> </style>
<nav class="navbar"> <nav class="navbar">

Loading…
Cancel
Save