From 61383bf71952087a08ea482cf226a6546bcf419b Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 22 Oct 2017 14:17:12 +0200 Subject: [PATCH] better tagging --- eidolon.cabal | 2 +- static/css/main.css | 2 +- templates/medium.hamlet | 2 +- templates/result.hamlet | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eidolon.cabal b/eidolon.cabal index 91f836f..85560ba 100755 --- a/eidolon.cabal +++ b/eidolon.cabal @@ -1,5 +1,5 @@ name: eidolon -version: 0.1.11.6 +version: 0.1.11.7 synopsis: Image gallery in Yesod homepage: https://eidolon.nek0.eu license: AGPL-3 diff --git a/static/css/main.css b/static/css/main.css index 59fd58a..04beabf 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -227,7 +227,7 @@ ul, ol { display: inline; } -.tags li:before { +.tag:before { display: inline-block; background-image: url(../img/tags.svg); width: 1.8ex; diff --git a/templates/medium.hamlet b/templates/medium.hamlet index 25878b5..94000f1 100755 --- a/templates/medium.hamlet +++ b/templates/medium.hamlet @@ -35,7 +35,7 @@ $else $forall tag <- mediumTags medium
  • - #{tag} + #{tag} $if presence == True Change medium settings diff --git a/templates/result.hamlet b/templates/result.hamlet index 26f4c6b..163fc1f 100755 --- a/templates/result.hamlet +++ b/templates/result.hamlet @@ -13,7 +13,7 @@ $else Results in Users: $forall (Entity uId user) <- userList
    - + #{userSlug user} $if not $ null albumList
    @@ -44,5 +44,5 @@ $else Results in Tags: $forall tag <- tagList
    - + #{tag}