Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9e4b24da
Commit
9e4b24da
authored
Sep 17, 2013
by
Greg Price
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #924 from edx/gprice/fix-forum-sidebar-overlap
Fix forums nav sidebar overlapping content
parents
5ec6cd85
8a32f274
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
15 deletions
+1
-15
common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee
+1
-3
lms/static/sass/_discussion.scss
+0
-12
No files found.
common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee
View file @
9e4b24da
...
...
@@ -64,10 +64,8 @@ if Backbone?
sidebar
=
$
(
".sidebar"
)
if
scrollTop
>
discussionsBodyTop
-
@
sidebar_padding
sidebar
.
addClass
(
'fixed'
);
sidebar
.
css
(
'top'
,
@
sidebar_padding
);
sidebar
.
css
(
'top'
,
scrollTop
-
discussionsBodyTop
+
@
sidebar_padding
);
else
sidebar
.
removeClass
(
'fixed'
);
sidebar
.
css
(
'top'
,
'0'
);
sidebarWidth
=
.
31
*
$
(
".discussion-body"
).
width
();
...
...
lms/static/sass/_discussion.scss
View file @
9e4b24da
...
...
@@ -690,14 +690,6 @@ body.discussion {
border-radius
:
3px
;
background
:
#f6f6f6
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.05
);
&
.fixed
{
@include
box-sizing
(
border-box
);
position
:
fixed
;
top
:
0px
;
width
:
32%
;
}
}
.browse-search
{
...
...
@@ -1264,10 +1256,6 @@ body.discussion {
border-radius
:
3px
;
background
:
$white
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.05
);
&
.sidebar-fixed
{
margin-left
:
32%
;
}
}
.blank-slate
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment