summaryrefslogtreecommitdiffstats
path: root/apps/comments/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-06 18:09:47 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-06 18:10:18 +0200
commitc65042099f499bfbc16de62f306ae60e70b6f70e (patch)
tree3754311fd93b9bf3a372bdbeaf9eb05e4e47f5af /apps/comments/css
parentbf630e46f62c8ab6ec37f5d169cb2b75711028df (diff)
downloadnextcloud-server-c65042099f499bfbc16de62f306ae60e70b6f70e.tar.gz
nextcloud-server-c65042099f499bfbc16de62f306ae60e70b6f70e.zip
Prevent comment being composed from overlapping the submit button
The submit button is placed in the text area using absolute positioning, so it is not taken into account when calculating the text layout. Due to this it is necessary to add an explicit padding to the right of the text area to prevent the text from overlapping the submit button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r--apps/comments/css/comments.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss
index e3e5a210327..84d328ca6f5 100644
--- a/apps/comments/css/comments.scss
+++ b/apps/comments/css/comments.scss
@@ -22,6 +22,9 @@
padding: 10px;
min-height: 44px;
margin: 0;
+
+ /* Prevent the text from overlapping with the submit button. */
+ padding-right: 30px;
}
#commentsTabView .newCommentForm {