diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-07 02:10:58 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-07 02:10:58 +0400 |
commit | c04cdb5d33d6fbc7bae302254aa9e6846a0f8f92 (patch) | |
tree | 8043ad7e86b590762a77ff952de32c94ca96abea /plugins/Annotations | |
parent | 5a8dfa1d56238d1abee50ef147cacae72f75e178 (diff) |
fixes #4510 When adding new annotation calendar was not fully visible is dashboard
Diffstat (limited to 'plugins/Annotations')
-rwxr-xr-x | plugins/Annotations/javascripts/annotations.js | 1 | ||||
-rwxr-xr-x | plugins/Annotations/stylesheets/annotations.less | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/Annotations/javascripts/annotations.js b/plugins/Annotations/javascripts/annotations.js index 8ab218ef22..9512ac28d6 100755 --- a/plugins/Annotations/javascripts/annotations.js +++ b/plugins/Annotations/javascripts/annotations.js @@ -160,6 +160,7 @@ */ var toggleAnnotationMode = function (inAnnotationElement) { var annotation = $(inAnnotationElement).closest('.annotation'); + annotation.toggleClass('edit') $('.annotation-period,.annotation-period-edit,.delete-annotation,' + '.annotation-edit-mode,.annotation-view-mode', annotation).toggle(); diff --git a/plugins/Annotations/stylesheets/annotations.less b/plugins/Annotations/stylesheets/annotations.less index c848328dab..2810ce0bf5 100755 --- a/plugins/Annotations/stylesheets/annotations.less +++ b/plugins/Annotations/stylesheets/annotations.less @@ -29,6 +29,14 @@ .annotation-manager { text-align: left; margin-top: -18px; + + .new-annotation-row { + height: 145px; + } + + .annotation.edit .annotation-edit-mode { + min-height: 125px; + } } .annotations-header { |