diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-06 18:09:47 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-06 18:10:18 +0200 |
commit | c65042099f499bfbc16de62f306ae60e70b6f70e (patch) | |
tree | 3754311fd93b9bf3a372bdbeaf9eb05e4e47f5af | |
parent | bf630e46f62c8ab6ec37f5d169cb2b75711028df (diff) | |
download | nextcloud-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>
-rw-r--r-- | apps/comments/css/comments.scss | 3 |
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 { |