mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-23 16:06:45 +00:00
Prevent individual tabbers from line-breaking
This commit is contained in:
parent
0d5f1cd25f
commit
82379c9619
|
@ -18,6 +18,7 @@ ul.tabbernav li a {
|
|||
border-bottom: none;
|
||||
background: #F2F7FF;
|
||||
text-decoration: none;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
ul.tabbernav li a:link {
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
tabContent.each(function() {
|
||||
var anchor = $('<a>').text(this.title).attr('title', this.title).attr('href', 'javascript:void(0);');
|
||||
$('<li>').append(anchor).appendTo(nav);
|
||||
|
||||
// Append a manual word break point after each tab
|
||||
nav.append($('<wbr>'));
|
||||
});
|
||||
$this.prepend(nav);
|
||||
|
||||
|
|
Loading…
Reference in a new issue