summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-14 21:55:13 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-14 21:55:13 +0100
commit8a0ec9bdb4c95bc26d14902e59832b9186d7f90f (patch)
treeeeaf4f5e4af44956f42037d7ba34859a3bd93586
parent7b56f23b11ef78dafae13495ef878cebaf97f061 (diff)
mobile css
-rw-r--r--public/assets/css/bucky.css23
-rw-r--r--public/assets/js/lib/views/details/commentform.js1
2 files changed, 21 insertions, 3 deletions
diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css
index d123961..1268aa3 100644
--- a/public/assets/css/bucky.css
+++ b/public/assets/css/bucky.css
@@ -992,9 +992,26 @@ header .search_form {
width: 30px;
height: 30px;
}
- .comment div {
- max-width: 81vw;
- padding-bottom: 3px;
+ .comment {
+ padding-right: 10px;
+ }
+ .comment .body {
+ max-width: 80vw;
+ margin: 0;
+ }
+ .comment .date,
+ .comment .edit-links {
+ display: block;
+ position: static;
+ text-align: left;
+ margin-top: 5px;
+ margin: 0;
+ }
+ .comment .date {
+ margin-top: 10px;
+ }
+ .comment .edit-links {
+ margin-top: 5px;
}
#details .right {
width: 100%;
diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js
index b3f37bc..e30193d 100644
--- a/public/assets/js/lib/views/details/commentform.js
+++ b/public/assets/js/lib/views/details/commentform.js
@@ -4,6 +4,7 @@ var CommentForm = FormView.extend({
events: {
"focus textarea": 'focus',
+ "focus input[type=file]": 'focus',
},
action: "",