Skip to content

Commit

Permalink
fix fake pin btn when not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
branch14 committed Sep 18, 2017
1 parent 3af891a commit f397e78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions app/assets/stylesheets/_talk-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
&:last-child {
//@extend .end;

}
.talk-card-inside {
background: $ghost;
Expand Down Expand Up @@ -115,7 +115,7 @@
// .play-count {
// //@extend .float-right;
// }

}
.date {
margin: 0;
Expand All @@ -128,7 +128,7 @@
strong {
font-weight: 500;
// color: rgba($talk-dark, 0.8);

}
}
.image-box-holder {
Expand Down Expand Up @@ -277,7 +277,7 @@
}
.talk-count {
//@extend .float-left;

}
.meta {
margin-bottom: 0;
Expand Down Expand Up @@ -432,9 +432,6 @@ $lines-to-show: 2;
color: white;
}
}
.pin-placeholder {
border: none;
}
}

.talk-card-flasher {
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/_talk_card.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
- else
-# display a fake pin button
.pinboard
= link_to talk do
.pin-placeholder
= link_to new_user_session_path, class: 'button pin-placeholder' do
= naked_icon('pin')

0 comments on commit f397e78

Please sign in to comment.