summaryrefslogtreecommitdiffstats
path: root/apps/comments/css
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-08-18 08:57:46 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-08-18 08:57:46 +0200
commit8c960821f1a826347e8d7ae3e9b96176fa2a58ac (patch)
treea02bd6aac4f2a9d2fb69ca5df782a9b9372ee91f /apps/comments/css
parent0d964787581b8505556889aaa3e05ad83d3482a2 (diff)
downloadnextcloud-server-8c960821f1a826347e8d7ae3e9b96176fa2a58ac.tar.gz
nextcloud-server-8c960821f1a826347e8d7ae3e9b96176fa2a58ac.zip
Fix layout of comments submit button on all screen sizes
* tested in IE10, IE11, Edge, Chrome and Firefox
Diffstat (limited to 'apps/comments/css')
-rw-r--r--apps/comments/css/comments.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css
index 56e2428b86f..81216a14a55 100644
--- a/apps/comments/css/comments.css
+++ b/apps/comments/css/comments.css
@@ -18,15 +18,15 @@
}
#commentsTabView .newCommentForm .message {
- width: 76%;
- margin-left: 32px;
+ width: calc(100% - 81px); /* 36 (left margin) + 30 (right padding) + 15 (right padding of surrounding box) */
+ margin-left: 36px;
padding-right: 30px;
}
#commentsTabView .newCommentForm .submit {
position: absolute;
- top: 0;
- right: 0;
+ top: 1px;
+ right: 8px;
width: 30px;
margin: 0;
padding: 9px;