summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-08-18 09:07:03 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-08-18 09:07:03 +0200
commit869c8410822d9d9c16e135ceab9a268feb6031b4 (patch)
tree2550fd014615fef03bdc1721b39506766e2988cb /apps
parent8c960821f1a826347e8d7ae3e9b96176fa2a58ac (diff)
downloadnextcloud-server-869c8410822d9d9c16e135ceab9a268feb6031b4.tar.gz
nextcloud-server-869c8410822d9d9c16e135ceab9a268feb6031b4.zip
Improve layout of cancel button in the comments sidebar
Diffstat (limited to 'apps')
-rw-r--r--apps/comments/css/comments.css4
-rw-r--r--apps/comments/js/commentstabview.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css
index 81216a14a55..d33ce735448 100644
--- a/apps/comments/css/comments.css
+++ b/apps/comments/css/comments.css
@@ -43,6 +43,10 @@
background-position: left;
}
+#commentsTabView .newCommentForm .cancel {
+ margin-right: 6px;
+}
+
#commentsTabView .comment {
position: relative;
z-index: 1;
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index 971b83f143a..565f6a99296 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -35,7 +35,7 @@
' <input type="text" class="message" placeholder="{{newMessagePlaceholder}}" value="{{{message}}}"" />' +
' <input class="submit icon-confirm" type="submit" value="" />' +
'{{#if isEditMode}}' +
- ' <input class="cancel" type="button" value="{{cancelText}}" />' +
+ ' <input class="cancel pull-right" type="button" value="{{cancelText}}" />' +
'{{/if}}' +
' <div class="submitLoading icon-loading-small hidden"></div>'+
' </form>' +