Commit 27c907ec by Kyle Fiedler

Added fix for closing the courseware sidebar

parent 44fa0baa
...@@ -305,9 +305,11 @@ div.course-wrapper { ...@@ -305,9 +305,11 @@ div.course-wrapper {
&.closed { &.closed {
section.course-index { section.course-index {
width: flex-grid(.6); width: flex-grid(.6);
overflow: hidden;
header#open_close_accordion { header#open_close_accordion {
padding: 0; padding: 0;
min-height: 47px;
a { a {
background-image: url('../images/slide-right-icon.png'); background-image: url('../images/slide-right-icon.png');
...@@ -316,7 +318,7 @@ div.course-wrapper { ...@@ -316,7 +318,7 @@ div.course-wrapper {
h2 { h2 {
visibility: hidden; visibility: hidden;
width: 10px; width: 10px;
padding: 0; // white-space: nowrap;
} }
} }
...@@ -324,6 +326,16 @@ div.course-wrapper { ...@@ -324,6 +326,16 @@ div.course-wrapper {
visibility: hidden; visibility: hidden;
width: 10px; width: 10px;
padding: 0; padding: 0;
nav {
white-space: pre;
overflow: hidden;
ul {
overflow: hidden;
white-space: nowrap;
}
}
} }
} }
......
...@@ -2,6 +2,14 @@ section.course-index { ...@@ -2,6 +2,14 @@ section.course-index {
@extend .sidebar; @extend .sidebar;
@extend .tran; @extend .tran;
header {
max-height: 47px;
h2 {
white-space: nowrap;
}
}
div#accordion { div#accordion {
h3 { h3 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment