diff --git a/less/category.less b/less/category.less index 3514aa6..2c984c7 100644 --- a/less/category.less +++ b/less/category.less @@ -146,4 +146,9 @@ font-size: 14px; font-weight: normal; line-height: 1.42857143; +} + +.category-dropdown-menu { + max-height: 500px; + overflow-y: auto; } \ No newline at end of file diff --git a/package.json b/package.json index a13ff91..67bf7e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodebb-theme-persona", - "version": "4.2.7", + "version": "4.2.10", "nbbpm": { "compatibility": "^1.4.4" }, diff --git a/templates/recent.tpl b/templates/recent.tpl index 4e465a1..74564eb 100644 --- a/templates/recent.tpl +++ b/templates/recent.tpl @@ -15,7 +15,7 @@ <!-- IF selectedCategory --><!-- IF selectedCategory.icon --><i class="fa fa-fw {selectedCategory.icon}"></i><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE --> [[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span> </button> - <ul class="dropdown-menu" role="menu"> + <ul class="dropdown-menu category-dropdown-menu" role="menu"> <li role="presentation" class="category"> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a> </li> diff --git a/templates/topic.tpl b/templates/topic.tpl index befd46f..73a4711 100644 --- a/templates/topic.tpl +++ b/templates/topic.tpl @@ -20,7 +20,7 @@ <a href="{config.relative_path}/user/{deleter.userslug}"> <strong>{deleter.username}</strong> </a> - <small class="timeago" title="{deletedTimestamp}"></small> + <small class="timeago" title="{deletedTimestampISO}"></small> <!-- ENDIF deleter --> </span> </div> @@ -42,11 +42,11 @@ </li> <!-- END posts --> </ul> - + <!-- IF config.enableQuickReply --> <!-- IMPORT partials/topic/quickreply.tpl --> <!-- ENDIF config.enableQuickReply --> - + <div class="post-bar"> <!-- IMPORT partials/post_bar.tpl --> </div> diff --git a/templates/unread.tpl b/templates/unread.tpl index 4bc78b0..9c9e0c3 100644 --- a/templates/unread.tpl +++ b/templates/unread.tpl @@ -13,7 +13,7 @@ <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> [[unread:mark_as_read]] <span class="caret"></span> </button> - <ul class="dropdown-menu" role="menu"> + <ul class="dropdown-menu category-dropdown-menu" role="menu"> <li role="presentation"> <a id="markSelectedRead" role="menuitem" tabindex="-1" href="#">[[unread:selected]]</a> @@ -36,7 +36,7 @@ <!-- IF selectedCategory --><!-- IF selectedCategory.icon --><i class="fa fa-fw {selectedCategory.icon}"></i><!-- ENDIF selectedCategory.icon --> {selectedCategory.name}<!-- ELSE --> [[unread:all_categories]]<!-- ENDIF selectedCategory --> <span class="caret"></span> </button> - <ul class="dropdown-menu" role="menu"> + <ul class="dropdown-menu category-dropdown-menu" role="menu"> <li role="presentation" class="category"> <a role="menu-item" href="{config.relative_path}/{selectedFilter.url}"><i class="fa fa-fw <!-- IF !selectedCategory -->fa-check<!-- ENDIF !selectedCategory -->"></i> [[unread:all_categories]]</a> </li>