From 0ab9433eb24b69943c61d593514164764e4133df Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 9 Jul 2017 17:43:13 +0200 Subject: [PATCH] Fixed alignment --- pages/profile/profile.scarlet | 2 +- pages/search/search.pixy | 8 ++++---- pages/search/search.scarlet | 5 ++++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pages/profile/profile.scarlet b/pages/profile/profile.scarlet index d232cf1f..29cec37b 100644 --- a/pages/profile/profile.scarlet +++ b/pages/profile/profile.scarlet @@ -88,7 +88,7 @@ profile-boot-duration = 2s .no-data width 100% - text-align left + text-align center // Categories diff --git a/pages/search/search.pixy b/pages/search/search.pixy index 8fd64e6b..f7269231 100644 --- a/pages/search/search.pixy +++ b/pages/search/search.pixy @@ -9,7 +9,7 @@ component SearchResults(term string, users []*arn.User, animeResults []*arn.Anim .user-avatars.user-search if len(users) == 0 - p.no-data.mountable No users found. + p.no-search-results.mountable No users found. else each user in users .mountable(data-mountable-type="user") @@ -23,7 +23,7 @@ component SearchResults(term string, users []*arn.User, animeResults []*arn.Anim .profile-watching-list.anime-search if len(animeResults) == 0 - p.no-data.mountable No anime found. + p.no-search-results.mountable No anime found. else each anime in animeResults a.profile-watching-list-item.mountable.ajax(href=anime.Link(), title=anime.Title.Canonical, data-mountable-type="anime") @@ -34,11 +34,11 @@ component SearchResults(term string, users []*arn.User, animeResults []*arn.Anim Icon("comment") span Forums - p.no-data.mountable Forums search coming soon. + p.no-search-results.mountable Forums search coming soon. .widget h3.widget-title Icon("music") span Soundtracks - p.no-data.mountable Soundtrack search coming soon. \ No newline at end of file + p.no-search-results.mountable Soundtrack search coming soon. \ No newline at end of file diff --git a/pages/search/search.scarlet b/pages/search/search.scarlet index ec095322..2f0d315d 100644 --- a/pages/search/search.scarlet +++ b/pages/search/search.scarlet @@ -1,3 +1,6 @@ .anime-search-result width 55px !important - height 78px !important \ No newline at end of file + height 78px !important + +.no-search-results + text-align left \ No newline at end of file