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