From 6fe97c58277a37daad6e3f56f3d103131bc17c49 Mon Sep 17 00:00:00 2001 From: Lightforger Date: Sun, 7 Apr 2013 07:36:57 +0300 Subject: [PATCH] Fixes long pool names not wrapping properly. top:0px is required to keep them at the top. Span is not a block element, thus padding/margin/etc does not work properly. http://danbooru.donmai.us/forum_posts/87125 --- app/assets/stylesheets/specific/posts.css.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index 25be6e2c1..eba324967 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -234,10 +234,6 @@ div#c-posts { float: right; } - .pool-name, .search-name { - margin: 0 1em; - } - #nav-links { margin: 1em 0; padding: 1em 0.5em; @@ -251,16 +247,18 @@ div#c-posts { li { position: relative; text-align: center; - height: 1.5em; + padding: 0px 4.5em; .prev { position: absolute; left: 1em; + top: 0px; } .next { position: absolute; right: 1em; + top: 0px; } &:hover {