summaryrefslogtreecommitdiffstats
path: root/web/sass-files
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-11-07 00:15:19 +0100
committerFlorian Orben <florian.orben@gmail.com>2015-11-10 23:03:49 +0100
commit96adf5238e6d95719def1e3954e1b5bc28bc9e71 (patch)
treeb6391f35f001de50a45dcab9a77e13ad7e15911f /web/sass-files
parent31387be90b9b7e4b7e6a55d05af3d858bef6680a (diff)
downloadchat-96adf5238e6d95719def1e3954e1b5bc28bc9e71.tar.gz
chat-96adf5238e6d95719def1e3954e1b5bc28bc9e71.tar.bz2
chat-96adf5238e6d95719def1e3954e1b5bc28bc9e71.zip
add button to preview your current post
Diffstat (limited to 'web/sass-files')
-rw-r--r--web/sass-files/sass/partials/_post.scss16
-rw-r--r--web/sass-files/sass/partials/_post_right.scss2
2 files changed, 16 insertions, 2 deletions
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 36f6f445e..ffcba3b6a 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -46,7 +46,21 @@ body.ios {
.textarea-wrapper {
position:relative;
- min-height:37px;
+ min-height:57px;
+ .textbox-preview-area {
+ position: absolute;
+ z-index: 2;
+ top: 0;
+ left: 0;
+ box-shadow: none;
+ }
+ .textbox-preview-link {
+ position: absolute;
+ z-index: 3;
+ bottom: 0;
+ right: 10px;
+ cursor: pointer;
+ }
}
.date-separator, .new-separator {
diff --git a/web/sass-files/sass/partials/_post_right.scss b/web/sass-files/sass/partials/_post_right.scss
index 91f9355de..c1d291073 100644
--- a/web/sass-files/sass/partials/_post_right.scss
+++ b/web/sass-files/sass/partials/_post_right.scss
@@ -23,7 +23,7 @@
.post-create__container {
margin-top: 10px;
.textarea-wrapper {
- min-height: 100px;
+ min-height: 120px;
}
.custom-textarea {
min-height: 100px;