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