[ticket/11956] More fixes for responsive minitabs

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-23 23:46:29 +03:00
parent fb3a466805
commit 3134580007
2 changed files with 3 additions and 1 deletions

View file

@ -934,7 +934,8 @@ function parse_document(container)
responsive = false;
links.each(function() {
maxHeight = Math.max(maxHeight, $(this).outerHeight(true));
var link = $(this);
maxHeight = Math.max(maxHeight, Math.max(link.outerHeight(true), link.parent().outerHeight(true)));
})
function check() {

View file

@ -105,6 +105,7 @@ ul.cplist {
.tabs-container #minitabs {
float: right;
margin-top: 19px;
max-width: 50%;
}
.tabs-container:after {