Skip to content

Commit fa4b941

Browse files
committed
use auto height and width for the dialogs
1 parent fa1c02b commit fa4b941

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

js/src/clients.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ require('../../css/style.css');
4747
});
4848
var dialogClientEditForm = $( "#dialog-client-edit-form" ).dialog({
4949
autoOpen: false,
50-
height: 400,
51-
width: 350,
50+
height: 'auto',
51+
width: 'auto',
5252
modal: true,
5353
buttons: {
5454
"Edit client": {click:function(){
@@ -165,4 +165,4 @@ require('../../css/style.css');
165165
});
166166
}
167167
} );
168-
}());
168+
}());

js/src/projects.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ require('../../css/piklor.css');
135135
});
136136
var dialogProjectEditForm = $( "#dialog-project-edit-form" ).dialog({
137137
autoOpen: false,
138-
height: 400,
139-
width: 350,
138+
height: 'auto',
139+
width: 'auto',
140140
modal: true,
141141
create: function( event, ui ) {
142142

@@ -484,4 +484,4 @@ require('../../css/piklor.css');
484484

485485

486486
} );
487-
}());
487+
}());

js/src/tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ require('../../css/style.css');
4242
});
4343
var dialogTagEditForm = $( "#dialog-tag-edit-form" ).dialog({
4444
autoOpen: false,
45-
height: 400,
46-
width: 350,
45+
height: 'auto',
46+
width: 'auto',
4747
modal: true,
4848
buttons: {
4949
"Edit tag": {click: function(){

js/src/timelines-admin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ require('../../css/style.css');
6666

6767
var dialogTimelineEditForm = $( "#dialog-timeline-edit-form" ).dialog({
6868
autoOpen: false,
69-
height: 400,
70-
width: 350,
69+
height: 'auto',
70+
width: 'auto',
7171
modal: true,
7272
create: function( event, ui ) {
7373

@@ -177,4 +177,4 @@ require('../../css/style.css');
177177

178178

179179
} );
180-
}());
180+
}());

js/src/timer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ function() {
8181
var timerInterval;
8282
var dialogWorkItemEditForm = $( "#dialog-work-item-edit-form" ).dialog({
8383
autoOpen: false,
84-
height: 400,
85-
width: 350,
84+
height: 'auto',
85+
width: 'auto',
8686
modal: true,
8787
buttons: {
8888
"Edit work item": function(){

0 commit comments

Comments
 (0)