mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-05 20:58:16 +02:00
improve layout of chagesetpanel
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user