summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2016-02-05 21:07:29 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2016-02-05 21:07:29 +0500
commit9c326d8cab09783031b34b8c3e25f26128524ba8 (patch)
tree5e2f8bd3874e9f9a0377b6071b44e2e69c93f82c /web
parent9b8761df8de0b7b4dcda55ecce7750dc385e38c8 (diff)
downloadchat-9c326d8cab09783031b34b8c3e25f26128524ba8.tar.gz
chat-9c326d8cab09783031b34b8c3e25f26128524ba8.tar.bz2
chat-9c326d8cab09783031b34b8c3e25f26128524ba8.zip
Minor UI Improvements
Diffstat (limited to 'web')
-rw-r--r--web/sass-files/sass/partials/_markdown.scss10
-rw-r--r--web/sass-files/sass/partials/_post.scss20
2 files changed, 27 insertions, 3 deletions
diff --git a/web/sass-files/sass/partials/_markdown.scss b/web/sass-files/sass/partials/_markdown.scss
index 7aa29d95d..732393ea1 100644
--- a/web/sass-files/sass/partials/_markdown.scss
+++ b/web/sass-files/sass/partials/_markdown.scss
@@ -20,6 +20,14 @@
.post-body--code {
position: relative;
+
+ pre {
+ margin-bottom: 0;
+ word-break: normal;
+ overflow: auto;
+ word-wrap: normal;
+ }
+
}
.post-body--code__language {
@@ -43,7 +51,7 @@
@include opacity(0.2);
}
code {
- white-space: pre-line;
+ white-space: pre;
}
}
.markdown__table {
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index b0fbf00aa..a018315e3 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -647,10 +647,26 @@ body.ios {
}
.post__remove {
+ font-family: 'Open Sans', sans-serif;
+ position: relative;
display: inline-block;
+ vertical-align: top;
+ right: 15px;
+ top: -5px;
+ font-size: 20px;
+ width: 20px;
+ height: 20px;
+ line-height: 20px;
+ font-weight: 600;
visibility: hidden;
- margin-right: 5px;
- top: -1px;
+ color: inherit;
+ @include opacity(0.5);
+ text-decoration: none;
+
+ &:hover {
+ @include opacity(0.8);
+ }
+
}
.post__body {