diff --git a/play.pokemonshowdown.com/js/client-battle.js b/play.pokemonshowdown.com/js/client-battle.js index 4313904031..6e2f220f18 100644 --- a/play.pokemonshowdown.com/js/client-battle.js +++ b/play.pokemonshowdown.com/js/client-battle.js @@ -761,7 +761,12 @@ var shiftControls = ''; if (this.battle.gameType === 'triples' && pos !== 1) { - shiftControls += '
'; + shiftControls = ( + '
' + + '
' + + '
' + + '
' + ); } var switchMenu = ''; diff --git a/play.pokemonshowdown.com/style/client.css b/play.pokemonshowdown.com/style/client.css index d0fcae9194..4e9149dc0e 100644 --- a/play.pokemonshowdown.com/style/client.css +++ b/play.pokemonshowdown.com/style/client.css @@ -1598,7 +1598,7 @@ a.ilink.yours { right: 0; width: auto; } -.tiny-layout .movecontrols, .tiny-layout .switchcontrols { +.tiny-layout .movecontrols, .tiny-layout .shiftcontrols, .tiny-layout .switchcontrols { max-width: 330px; margin: 0 auto; } @@ -1701,6 +1701,7 @@ a.ilink.yours { } .shiftselect button { color: #445588; + cursor: default; } .moveselect button { color: #884422; @@ -1929,7 +1930,7 @@ a.ilink.yours { color: #FF7766; border-color: #FF7766; } - .battle-controls .movecontrols, .battle-controls .switchcontrols { + .battle-controls .movecontrols, .battle-controls .shiftcontrols, .battle-controls .switchcontrols { max-width: 640px; } .movemenu { diff --git a/play.pokemonshowdown.com/style/client2.css b/play.pokemonshowdown.com/style/client2.css index 334aa64488..9f1654f6f1 100644 --- a/play.pokemonshowdown.com/style/client2.css +++ b/play.pokemonshowdown.com/style/client2.css @@ -1508,7 +1508,7 @@ a.ilink.yours { right: 0; width: auto; } -.tiny-layout .movecontrols, .tiny-layout .switchcontrols { +.tiny-layout .movecontrols, .tiny-layout .shiftcontrols, .tiny-layout .switchcontrols { max-width: 330px; margin: 0 auto; }