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
This commit is contained in:
Lightforger
2013-04-07 07:36:57 +03:00
parent 8a9df7d4bd
commit 6fe97c5827

View File

@@ -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 {