summaryrefslogtreecommitdiffstats
path: root/apps/comments/css
diff options
context:
space:
mode:
authorAbijeet <abijeetpatro@gmail.com>2018-04-14 20:28:32 +0530
committerAbijeet <abijeetpatro@gmail.com>2018-04-14 20:28:32 +0530
commit0489643f506f314af8dd76444a7b2f0f375ad80b (patch)
treef7bfa7aff2452dc4937f9e2ecb01a02d2f8efd56 /apps/comments/css
parent13b5e257abbecbb98f8e8687c32bb9ea36cc16b9 (diff)
downloadnextcloud-server-0489643f506f314af8dd76444a7b2f0f375ad80b.tar.gz
nextcloud-server-0489643f506f314af8dd76444a7b2f0f375ad80b.zip
Fixes issue with the large cursor on Safari in the comment section.
This was being caused due to the `display: inline-block` on the contenteditable div. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r--apps/comments/css/comments.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss
index c2bc136ba66..d2ed74adaeb 100644
--- a/apps/comments/css/comments.scss
+++ b/apps/comments/css/comments.scss
@@ -17,9 +17,12 @@
}
#commentsTabView .newCommentForm .message {
- /* width = 100% - (width of submit button (44px) + margin (3px) + inline-block gap) */
- width: calc(100% - 52px);
- display: inline-block;
+ /* width = 100% - (width of submit button (44px) + margin (3px) + border (1px)) */
+ width: calc(100% - 48px);
+ /* Need to use float left instead of display inline-block because Safari shows a big cursor */
+ float: left;
+ /* To align it to the button on the side */
+ margin-top: 5px;
}
#commentsTabView .newCommentForm .submit {