fix #316
parent
53b4d0cec8
commit
cf1dc3bd25
|
@ -161,6 +161,10 @@ IssueDirective = ($tgrepo, $log, $location, $confirm) ->
|
|||
$tgrepo.save($scope.issue).then ->
|
||||
$ctrl.loadHistory()
|
||||
|
||||
$el.on "focus", ".add-comment textarea", (event) ->
|
||||
$(this).addClass('active')
|
||||
|
||||
|
||||
$el.on "click", ".us-activity-tabs li a", (event) ->
|
||||
$el.find(".us-activity-tabs li a").toggleClass("active")
|
||||
$el.find(".us-activity section").toggleClass("hidden")
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
.add-comment {
|
||||
@include clearfix;
|
||||
textarea {
|
||||
float: left;
|
||||
margin-bottom: .5rem;
|
||||
&.active {
|
||||
@include transition(height .3s ease-in);
|
||||
// &:focus {
|
||||
// @include transition(height .3s ease-in);
|
||||
// height: 6rem;
|
||||
// +a {
|
||||
// display: inline-block;
|
||||
// }
|
||||
// }
|
||||
height: 6rem;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: $white;
|
||||
// display: none;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue