Jump to content

Subforums on mobile, please align... example:


chilihead

Recommended Posts

  • 3 weeks later...

It is just my board or does it work this way in general:

 

If someone posts something in a sub-forum, the sub-forum gets a dot and bolded, but the main board doesn't show up as having any unread content. The status icon remains transparent, etc..

Link to comment
Share on other sites

Untested: take a look on template forums -> front -> index -> forumRow.

			{{if $forum->hasChildren()}}
				<ul class="ipsDataItem_subList ipsList_inline">
					{{foreach $forum->children() as $subforum}}
						<li class="{{if \IPS\forums\Topic::containerUnread( $subforum )}}ipsDataItem_unread{{endif}}">
							<a href="{$subforum->url()}">{{if \IPS\forums\Topic::containerUnread( $subforum )}}<span class='ipsItemStatus ipsItemStatus_tiny {{if !\IPS\forums\Topic::containerUnread( $subforum ) && !$subforum->redirect_on}}ipsItemStatus_read{{endif}}'><i class="fa fa-circle"></i></span>&nbsp;{{endif}}{$subforum->_title}</a>
						</li>
					{{endforeach}}
				</ul>
			{{endif}}

The <i class="fa fa-circle"></i> above.

Link to comment
Share on other sites

sorry For delay!

issued with alignment is caused by a Space in active Content.

unactive Content do not contain class, so, we cannot add Space in this via ::before rule.

to fix via css (imho is best instead to edit template), i think is sufficient a negative margin (eg 5px) in active link.

regards :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...