Browse Source

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>
tags/v15.0.0beta1
Daniel Calviño Sánchez 5 years ago
parent
commit
c65042099f
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      apps/comments/css/comments.scss

+ 3
- 0
apps/comments/css/comments.scss View File

@@ -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 {

Loading…
Cancel
Save