Fix disappearing author sidebar links

- Close #1136
This commit is contained in:
Michael Rose 2017-08-04 11:55:10 -04:00
parent 15c3abe48b
commit 6b9afaa8b7
6 changed files with 12 additions and 4 deletions

View file

@ -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;

View file

@ -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");
});

File diff suppressed because one or more lines are too long

View file

@ -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;

View file

@ -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");
});

File diff suppressed because one or more lines are too long