summaryrefslogtreecommitdiffstats
path: root/web/sass-files
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-12-14 18:46:19 -0500
committerChristopher Speller <crspeller@gmail.com>2015-12-14 18:46:19 -0500
commit1a004ef1bf4135db256914e80bb177ae4ecf92eb (patch)
treeeb156deaac60aed629e1020ed6cfce7ec5c05bd9 /web/sass-files
parentab367f2bc64c064a3da92424b637fa5fc0b0a01e (diff)
parent4af0cb7767d2e6a431b74f280a54b96d86ef7774 (diff)
downloadchat-1a004ef1bf4135db256914e80bb177ae4ecf92eb.tar.gz
chat-1a004ef1bf4135db256914e80bb177ae4ecf92eb.tar.bz2
chat-1a004ef1bf4135db256914e80bb177ae4ecf92eb.zip
Merge pull request #1724 from asaadmahmoodspin/sidebarFix
Fixing IE scrolling issue and also fixing horizontal scrollbar
Diffstat (limited to 'web/sass-files')
-rw-r--r--web/sass-files/sass/partials/_base.scss4
-rw-r--r--web/sass-files/sass/partials/_responsive.scss2
-rw-r--r--web/sass-files/sass/partials/_sidebar--right.scss6
3 files changed, 6 insertions, 6 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..e39f7730b 100644
--- a/web/sass-files/sass/partials/_sidebar--right.scss
+++ b/web/sass-files/sass/partials/_sidebar--right.scss
@@ -1,17 +1,17 @@
@charset "UTF-8";
.sidebar--right {
- position: absolute;
+ position: fixed;
width: 400px;
height: 100%;
right: 0px;
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 {