mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-05 21:16:26 -05:00
Improve tab overflow button
With the tab overflow menu being perfect, I might as well fix the button that opens it. It used to use default browser styles, which was mostly fine in OS X but ugly on other systems, and nearly unusable in iOS. The new one looks lovely on all OSes.
This commit is contained in:
parent
ebd0bfef58
commit
ba0a7e72ff
|
|
@ -1790,7 +1790,7 @@
|
|||
var offset = $lastLi.offset();
|
||||
var width = $lastLi.outerWidth();
|
||||
if (offset.top >= 37 || offset.left + width > $(window).width() - 165) {
|
||||
this.$tabbar.append('<div class="overflow"><button name="tablist"><i class="icon-caret-down"></i></button></div>');
|
||||
this.$tabbar.append('<div class="overflow"><button name="tablist" class="button"><i class="icon-caret-down"></i></button></div>');
|
||||
}
|
||||
|
||||
if (app.rooms['']) app.rooms[''].updateRightMenu();
|
||||
|
|
|
|||
|
|
@ -176,11 +176,12 @@ a.subtle:hover {
|
|||
right: 0;
|
||||
z-index: 12;
|
||||
}
|
||||
.maintabbar .overflow button {
|
||||
height: 36px;
|
||||
width: 29px;
|
||||
.maintabbar .overflow .button {
|
||||
height: 37px;
|
||||
width: 32px;
|
||||
font-size: 12pt;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.button {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user