diff --git a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.changesetpanel.js b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.changesetpanel.js index c97de385f5..14621c8c3f 100644 --- a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.changesetpanel.js +++ b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.changesetpanel.js @@ -56,7 +56,6 @@ Sonia.repository.ChangesetPanel = Ext.extend(Ext.Panel, { var config = { title: String.format(this.title, this.revision), autoScroll: true, - bodyCssClass: 'x-panel-mc', tbar: [{ text: this.commitLabel, handler: this.showCommit, @@ -70,6 +69,7 @@ Sonia.repository.ChangesetPanel = Ext.extend(Ext.Panel, { handler: this.downloadRawDiff, scope: this }], + layout: 'fit', bbar: ['->', this.repository.name, ':', this.revision], items: [panel] } diff --git a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.commitpanel.js b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.commitpanel.js index deca977a85..d3c7a6f558 100644 --- a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.commitpanel.js +++ b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.commitpanel.js @@ -78,7 +78,7 @@ Sonia.repository.CommitPanel = Ext.extend(Ext.Panel, { var config = { bodyCssClass: 'x-panel-mc', padding: 10, - layout: 'fit', + autoScroll: true, items: [this.commitPanel, this.diffPanel] }