Textarea resize fixes. Fixes #63.
This commit is contained in:
parent
636556a00a
commit
3ffc0cd84e
@ -34,6 +34,9 @@ a, button {
|
||||
a:hover.fa {
|
||||
text-decoration: none;
|
||||
}
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
|
@ -58,11 +58,13 @@ function ($scope, $routeParams, $location, $interval, $window,
|
||||
|
||||
$scope.openEditItem = function() {
|
||||
$scope.itemFormData.loadItem($scope.contextItem);
|
||||
$('.itemModal textarea').css('height', 'auto');
|
||||
$('.itemModal').modal('show');
|
||||
};
|
||||
|
||||
$scope.openAddItem = function() {
|
||||
$scope.itemFormData.reset($scope.contextLaneId);
|
||||
$('.itemModal textarea').css('height', 'auto');
|
||||
$('.itemModal').modal('show');
|
||||
};
|
||||
|
||||
|
@ -61,6 +61,7 @@ function ($scope, $window, BoardService) {
|
||||
$scope.fileReset = true;
|
||||
|
||||
if (openModal) {
|
||||
$('.itemViewModal textarea').css('height', 'auto');
|
||||
$('.itemViewModal').modal({ show: true, keyboard:false });
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user