_sass/hamilton/layout.scss in hamilton-0.2.1 vs _sass/hamilton/layout.scss in hamilton-0.2.2

- old
+ new

@@ -205,10 +205,11 @@ @include relative-font-size(0.8); max-width: 30%; min-width: 20%; height: 100vh; position: sticky; + position: -webkit-sticky; top: 0; margin-left: $spacing-unit / 2; @include media-query($on-medium) { visibility: hidden; @@ -225,17 +226,35 @@ margin-top: $spacing-unit / 2; margin-bottom: 0; border: 1px solid; border-top-left-radius: 0.3em; border-top-right-radius: 0.3em; + + @include media-query($on-medium) { + padding: 0; + border: 0; + margin: 0; + } } .post-toc-container { max-height: 60vh; overflow-y: scroll; border: 1px solid; border-bottom-left-radius: 0.3em; border-bottom-right-radius: 0.3em; + + /* Hide scrollbar for Chrome, Safari and Opera */ + &::-webkit-scrollbar { + display: none; + } + + /* Hide scrollbar for IE and Edge */ + -ms-overflow-style: none; + + @include media-query($on-medium) { + border: 0; + } ul { list-style: none; margin: 0; padding: 0;