Skip to content

Commit

Permalink
fix(/anime, /manga): make image columns smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabster28 committed Aug 24, 2020
1 parent 59c4ea4 commit 11d3537
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions src/pages/Anime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$q.screen.width > 800 ? 'row' : 'col'
]"
>
<div class="col-5">
<div class="col-3">
<q-img :src="anime.image_url" />
<div
v-if="anime.trailer_url"
Expand Down Expand Up @@ -63,14 +63,14 @@
>
</div>
<div class="col-5">
<div v-if="anime.title_english && anime.title_english != anime.title">
<h2>{{ anime.title_english }}</h2>
<div
v-if="anime.title_english && anime.title_english != anime.title"
>
<h2>{{ anime.title_english }}</h2>

<h6 class="disabled">{{ anime.title }}</h6>
<h6 class="disabled">{{ anime.title }}</h6>
</div>



<h2 v-else>{{ anime.title }}</h2>
<p class="text-justify">{{ anime.synopsis }}</p>
<q-card class="q-pa-md q-my-lg">
Expand Down Expand Up @@ -355,7 +355,8 @@ export default Vue.extend({
// @ts-ignore
this.player = new Plyr('#player');
}, 1000);
document.title = `${this.anime.title_english || this.anime.title} | Mirai`;
document.title = `${this.anime.title_english ||
this.anime.title} | Mirai`;
/* @ts-ignore */
let cache = this.$q.localStorage.getItem('cache');
/* @ts-ignore */
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Manga.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$q.screen.width > 800 ? 'row' : 'col'
]"
>
<div class="col-5">
<div class="col-3">
<q-img :src="manga.image_url" />
<q-btn
rel="noopener"
Expand Down

1 comment on commit 11d3537

@vercel
Copy link

@vercel vercel bot commented on 11d3537 Aug 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.