diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-14 22:27:41 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-14 22:27:41 +0500 |
commit | 95e0fd88fc281d8b4c5fa0f924a8bb014c682dda (patch) | |
tree | 83e52de991da40d152e4550c12f83ea5419208d8 /web/sass-files/sass | |
parent | ab367f2bc64c064a3da92424b637fa5fc0b0a01e (diff) | |
download | chat-95e0fd88fc281d8b4c5fa0f924a8bb014c682dda.tar.gz chat-95e0fd88fc281d8b4c5fa0f924a8bb014c682dda.tar.bz2 chat-95e0fd88fc281d8b4c5fa0f924a8bb014c682dda.zip |
Fixing IE scrolling issue and also fixing horizontal scrollbar
Diffstat (limited to 'web/sass-files/sass')
-rw-r--r-- | web/sass-files/sass/partials/_base.scss | 4 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_responsive.scss | 2 | ||||
-rw-r--r-- | web/sass-files/sass/partials/_sidebar--right.scss | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/web/sass-files/sass/partials/_base.scss b/web/sass-files/sass/partials/_base.scss index bb3421451..4f9e1d5c7 100644 --- a/web/sass-files/sass/partials/_base.scss +++ b/web/sass-files/sass/partials/_base.scss @@ -8,7 +8,7 @@ body { font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; background: $body-bg; - position: absolute; + position: relative; width: 100%; height: 100%; &.white { @@ -36,11 +36,13 @@ body { .container-fluid { @include legacy-pie-clearfix; height: 100%; + position: relative; } .channel-view { @include clearfix; height: 100%; + position: relative; } img { diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss index 66aaede8d..2aa130fa9 100644 --- a/web/sass-files/sass/partials/_responsive.scss +++ b/web/sass-files/sass/partials/_responsive.scss @@ -54,9 +54,7 @@ @media screen and (max-width: 960px) { .sidebar--right { - width: 400px; z-index: 5; - right: 0; @include translateX(100%); &.move--left { diff --git a/web/sass-files/sass/partials/_sidebar--right.scss b/web/sass-files/sass/partials/_sidebar--right.scss index f328f0971..0c0fd930f 100644 --- a/web/sass-files/sass/partials/_sidebar--right.scss +++ b/web/sass-files/sass/partials/_sidebar--right.scss @@ -8,10 +8,10 @@ padding: 0; background: #fff; @include single-transition(transform, 0.5s, ease); - right: -320px; + @include translateX(400px); &.move--left { - right: 0; + @include translateX(0); } .post-body { |