[ticket/14038] Switch to spacer spans

This commit is contained in:
Michael Miday 2015-08-30 18:54:39 +02:00
parent 0e26b4e68f
commit d228c80c61
2 changed files with 10 additions and 1 deletions

View file

@ -20,7 +20,7 @@
<ul class="dropdown-contents">
<!-- BEGIN jumpbox_forums -->
<!-- IF jumpbox_forums.FORUM_ID neq -1 -->
<li><a href="{jumpbox_forums.LINK}" class="<!-- IF jumpbox_forums.level -->jumpbox-sub-link<!-- ELSEIF jumpbox_forums.S_IS_CAT -->jumpbox-cat-link<!-- ELSE -->jumpbox-forum-link<!-- ENDIF -->"><!-- BEGIN level -->&nbsp; &nbsp; &nbsp;<!-- END level --> <!-- IF jumpbox_forums.level -->&#8627; &nbsp;<!-- ENDIF --> <span>{jumpbox_forums.FORUM_NAME}</span></a></li>
<li><a href="{jumpbox_forums.LINK}" class="<!-- IF jumpbox_forums.level -->jumpbox-sub-link<!-- ELSEIF jumpbox_forums.S_IS_CAT -->jumpbox-cat-link<!-- ELSE -->jumpbox-forum-link<!-- ENDIF -->"><!-- BEGIN level --><span class="spacer"></span><!-- END level --> <span><!-- IF jumpbox_forums.level --> &#8627; &nbsp;<!-- ENDIF --> {jumpbox_forums.FORUM_NAME}</span></a></li>
<!-- ENDIF -->
<!-- END jumpbox_forums -->
</ul>

View file

@ -519,6 +519,15 @@ ul.linklist.bulletin > li.no-bulletin:before {
width: 100%;
}
.jumpbox .spacer {
display: inline-block;
width: 0px;
}
.jumpbox .spacer + .spacer {
width: 20px;
}
.dropdown li {
border-top: 1px dotted transparent;
float: none !important;