mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Battles shouldn't have a persistent header
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
var LadderRoom = this.LadderRoom = this.Room.extend({
|
||||
initialize: function() {
|
||||
this.$el.addClass('ps-room-light');
|
||||
this.$el.addClass('ps-room-light').addClass('scrollable');
|
||||
app.on('init:formats', this.update, this);
|
||||
this.update();
|
||||
},
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
'click button.teamselect': 'selectTeam'
|
||||
},
|
||||
initialize: function() {
|
||||
this.$el.addClass('scrollable');
|
||||
|
||||
var buf = '<div class="mainmenuwrapper">';
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
teams = app.user.teams;
|
||||
|
||||
// left menu
|
||||
this.$el.addClass('ps-room-light');
|
||||
this.$el.addClass('ps-room-light').addClass('scrollable');
|
||||
app.on('init:loadteams', this.update, this);
|
||||
this.update();
|
||||
},
|
||||
|
||||
@@ -328,7 +328,8 @@ a.subtle:hover {
|
||||
|
||||
border-left: 1px solid #AAAAAA;
|
||||
margin-left: -1px;
|
||||
|
||||
}
|
||||
.scrollable {
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
overflow-scrolling: touch;
|
||||
|
||||
Reference in New Issue
Block a user