Modify the default width of the navigator.
This commit is contained in:
parent
ef4500f23d
commit
d632df2254
@ -103,7 +103,7 @@ div.main
|
||||
|
||||
div.main_navigator
|
||||
{
|
||||
width: 260px;
|
||||
width: 250px;
|
||||
margin: 10px 0px 10px 0px;
|
||||
overflow: none;
|
||||
float: left;
|
||||
|
||||
@ -125,7 +125,7 @@ OV.Navigator = class
|
||||
originalWidth = this.mainDiv.outerWidth (true);
|
||||
},
|
||||
onSplit : (xDiff) => {
|
||||
const minWidth = 260;
|
||||
const minWidth = 250;
|
||||
const maxWidth = 450;
|
||||
let newWidth = originalWidth + xDiff;
|
||||
if (newWidth < minWidth) {
|
||||
|
||||
@ -65,7 +65,7 @@ OV.Sidebar = class
|
||||
originalWidth = this.mainDiv.outerWidth (true);
|
||||
},
|
||||
onSplit : (xDiff) => {
|
||||
const minWidth = 260;
|
||||
const minWidth = 320;
|
||||
const maxWidth = 450;
|
||||
let newWidth = originalWidth - xDiff;
|
||||
if (newWidth < minWidth) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user