aboutsummaryrefslogtreecommitdiffstats
path: root/apps
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-19 08:51:42 +0200
commit896c8df6ade9045165c54efd755888d537aee34c (patch)
treec61a2c6dd93edd6f6a7a6a878cd5c8c2f55fbd86 /apps
parentfb9379db3efa204378682bc77049f4153934dc81 (diff)
downloadnextcloud-server-896c8df6ade9045165c54efd755888d537aee34c.tar.gz
nextcloud-server-896c8df6ade9045165c54efd755888d537aee34c.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')
-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 75daeff875f..a26649c1aa0 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 {