From 50db3602724c1b8d44e7651af1f17d5918b619de Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 3 Nov 2016 13:11:00 +0900 Subject: [PATCH] Added mobile meta tag --- components/genres.pixy | 2 +- components/layout.pixy | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/genres.pixy b/components/genres.pixy index 7d0f6d8e..b84dd3d7 100644 --- a/components/genres.pixy +++ b/components/genres.pixy @@ -12,7 +12,7 @@ component GenreOverview span= genre component AnimeInGenre(genre string, animeList []*arn.Anime) - style!= "h2 { text-align: center; } .genre-anime-list{ display: flex; flex-flow: row wrap; float: none !important; justify-content: center; } .genre-anime-image{ width: 16vw; height: 9vw; min-width: 100px; min-height: 141px; max-width: 200px; max-height: 282px; object-fit: cover; } .genre-anime-link{ margin: 0.5em; flex-grow: 0; flex-shrink: 0; }" + style!= "h2 { text-align: center; } .genre-anime-list{ display: flex; flex-flow: row wrap; float: none !important; justify-content: center; } .genre-anime-image{ width: 16vw; height: 9vw; min-width: 90px; min-height: 127px; max-width: 200px; max-height: 282px; object-fit: cover; } .genre-anime-link{ margin: 0.5em; flex-grow: 0; flex-shrink: 0; }" h2= "#" + genre .genre-anime-list each anime in animeList diff --git a/components/layout.pixy b/components/layout.pixy index 5aba898a..e1f30705 100644 --- a/components/layout.pixy +++ b/components/layout.pixy @@ -2,6 +2,7 @@ component Layout(content string, css string) html head title ARN 4.0 - Beta + meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes") style!= css body #container