Skip to content

Commit

Permalink
Fix disappearing author sidebar links
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 4, 2017
1 parent 21d6153 commit b7ed28a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions _sass/minimal-mistakes/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default;

&.is--visible {
display: block;
}

@include breakpoint($large) {
display: block;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $(document).ready(function(){

// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {});
$(".author__urls").toggleClass("is--visible");
$(".author__urls-wrapper button").toggleClass("open");
});

Expand Down
2 changes: 1 addition & 1 deletion assets/js/main.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/_sass/minimal-mistakes/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
cursor: default;

&.is--visible {
display: block;
}

@include breakpoint($large) {
display: block;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $(document).ready(function(){

// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {});
$(".author__urls").toggleClass("is--visible");
$(".author__urls-wrapper button").toggleClass("open");
});

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/main.min.js

Large diffs are not rendered by default.

0 comments on commit b7ed28a

Please sign in to comment.