Skip to content

Node.js based forum software built for the modern web

css fixes to post window on mobile screens

Julian Lam54c75024b540
diff --git a/public/css/style.less b/public/css/style.less
index 33cdd2b7b8..4ea31d8a9d 100644
--- a/public/css/style.less
+++ b/public/css/style.less
@@ -503,7 +503,6 @@ body .navbar .nodebb-inline-block {
.post-window {
position: fixed;
- bottom: 45px;
display: none;
height: 350px;
visibility: hidden;
@@ -550,33 +549,39 @@ body .navbar .nodebb-inline-block {
}
#imagedrop {
- background: rgba(64, 64, 64, 0.95);
- padding: 0.5em;
- display: block;
- width: 90%;
- min-height:25px;
- margin: 1em auto;
- resize: none;
- color:white;
- font-size:20px;
- div {
- margin-right:10px;
- }
- span {
- line-height:20px;
- float:left;
- }
- button {
- padding-left:5px;
- }
- }
-
+ background: rgba(64, 64, 64, 0.95);
+ padding: 0.5em;
+ display: block;
+ width: 90%;
+ min-height:25px;
+ margin: 1em auto;
+ resize: none;
+ color:white;
+ font-size:20px;
+
+ div {
+ margin-right:10px;
+ }
+ span {
+ line-height:20px;
+ float:left;
+ }
+ button {
+ padding-left:5px;
+ }
+ }
}
}
@media (max-width: 979px) {
.post-window {
- position: static;
+ position: relative;
+ bottom: 0px !important;
+
+ > div {
+ position: static;
+ width: 100% !important;
+ }
}
}