From f5c4cf10c484111e817c1111d9138d891c6d84cf Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 17 Jul 2015 23:39:09 +0500 Subject: Adding highlights and improving css for posts on responsive screens --- web/sass-files/sass/partials/_modal.scss | 1 - web/sass-files/sass/partials/_post.scss | 4 ++-- web/sass-files/sass/partials/_responsive.scss | 6 ++---- 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'web/sass-files/sass') diff --git a/web/sass-files/sass/partials/_modal.scss b/web/sass-files/sass/partials/_modal.scss index 5438f58fb..971ed0935 100644 --- a/web/sass-files/sass/partials/_modal.scss +++ b/web/sass-files/sass/partials/_modal.scss @@ -21,7 +21,6 @@ margin-right: auto; } .modal-body { - max-height: 75%; overflow: auto; } .modal-push-down { diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss index 8ce1bf984..72b527311 100644 --- a/web/sass-files/sass/partials/_post.scss +++ b/web/sass-files/sass/partials/_post.scss @@ -215,7 +215,7 @@ body.ios { } &.current--user { .post-body { - @include border-radius(4px); + @include border-radius(0 4px 4px 0); background: #f5f5f5; } } @@ -297,7 +297,7 @@ body.ios { width: 600px; float: left; word-wrap: break-word; - padding: 0.3em 0 0.1em; + padding: 0.3em 0.5em 0.1em; margin: -0.3em 0 0; .post-link { @include clearfix; diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss index 403e84521..5497e2c6c 100644 --- a/web/sass-files/sass/partials/_responsive.scss +++ b/web/sass-files/sass/partials/_responsive.scss @@ -22,6 +22,7 @@ width: 825px; } .post-body { + width: 736px; border: none; margin: 0; } @@ -29,8 +30,6 @@ .post-body { float: none; width: 750px; - padding-left: 0.5em; - padding-right: 0.5em; margin: 0; } .post__content { @@ -101,6 +100,7 @@ width: 825px; } .post-body { + width: 736px; border: none; margin: 0; } @@ -138,8 +138,6 @@ } .post-body { margin: 0; - padding-left: 0.5em; - padding-right: 0.5em; float: none; width: 750px; } -- cgit v1.2.3-1-g7c22