diff options
| -rw-r--r-- | phpBB/styles/prosilver/template/forum_fn.js | 4 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/overall_header.html | 6 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 12 |
3 files changed, 11 insertions, 11 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index cfb95d9cba..316ab1e66f 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -446,7 +446,7 @@ function insert_single_user(formId, user) $('.breadcrumbs').each(function() { var $this = $(this), $body = $('body'), - links = $this.find('a'), + links = $this.find('.crumb'), length = links.length, classes = ['wrapped-wide', 'wrapped-medium', 'wrapped-small'], classesLength = classes.length, @@ -474,7 +474,7 @@ function insert_single_user(formId, user) lastWidth = width; if (wrapped) { - $this.find('a.wrapped').removeClass('wrapped ' + classes.join(' ')); + $this.find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' ')); wrapped = false; if ($this.height() <= maxHeight) return; } diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index 7bf60ce67c..3587b3c44a 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -84,9 +84,9 @@ <ul class="linklist navlinks"> <!-- DEFINE $MICRODATA = ' itemtype="http://data-vocabulary.org/Breadcrumb" itemscope=""' --> - <li class="icon-home breadcrumbs"><!-- IF U_SITE_HOME --><a href="{U_SITE_HOME}"{$MICRODATA}>{L_SITE_HOME}</a> <strong>‹</strong> <!-- ENDIF --> - <a href="{U_INDEX}" accesskey="h"{$MICRODATA}>{L_INDEX}</a> - <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}"{$MICRODATA}>{navlinks.FORUM_NAME}</a><!-- END navlinks --> + <li class="icon-home breadcrumbs"><!-- IF U_SITE_HOME --><span class="crumb"><a href="{U_SITE_HOME}"{$MICRODATA}>{L_SITE_HOME}</a> <strong>‹</strong></span> <!-- ENDIF --> + <span class="crumb"><a href="{U_INDEX}" accesskey="h"{$MICRODATA}>{L_INDEX}</a></span> + <!-- BEGIN navlinks --> <span class="crumb"><strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}"{$MICRODATA}>{navlinks.FORUM_NAME}</a></span><!-- END navlinks --> <!-- EVENT overall_header_breadcrumb_append --> </li> diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 6142fe39a7..f662cd06fc 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -380,19 +380,19 @@ ul.linklist.bulletin li.no-bulletin:before { /* Responsive breadcrumbs ----------------------------------------*/ -.breadcrumbs a { +.breadcrumbs .crumb { display: inline-block; + vertical-align: bottom; } -.breadcrumbs a.wrapped { +.breadcrumbs .crumb.wrapped { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - vertical-align: bottom; } -.breadcrumbs a.wrapped-wide { max-width: 120px; } -.breadcrumbs a.wrapped-medium { max-width: 80px; } -.breadcrumbs a.wrapped-small { max-width: 30px; } +.breadcrumbs .crumb.wrapped-wide { max-width: 120px; } +.breadcrumbs .crumb.wrapped-medium { max-width: 80px; } +.breadcrumbs .crumb.wrapped-small { max-width: 30px; } /* Table styles ----------------------------------------*/ |
