Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5152 from withspectrum/fix-like-button
Browse files Browse the repository at this point in the history
Fix like buttons and thread zindexes
  • Loading branch information
brianlovin authored Jun 5, 2019
2 parents 2d0c51b + 964d8b4 commit b2af2ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/threadLikes/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const LikeButtonWrapper = styled(Button)`
overflow: hidden;
padding: 0;
padding-left: 16px;
pointer-events: none;
div + span {
margin: 0;
Expand Down Expand Up @@ -49,6 +48,7 @@ export const LikeCountWrapper = styled.div`
margin-right: 12px;
color: ${props =>
props.active ? props.theme.text.reverse : props.theme.text.alt};
pointer-events: none;
${CurrentCount} {
margin-left: 4px;
Expand Down
3 changes: 3 additions & 0 deletions src/views/thread/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const ThreadWrapper = styled(FlexCol)`
/* manually nudge up 60px to cover the sliding header in the thread view */
top: -68px;
margin-bottom: -68px;
z-index: 3;
${props =>
props.isEditing &&
Expand Down Expand Up @@ -906,4 +907,6 @@ export const BylineContainer = styled.div`
margin-left: -16px;
margin-right: -16px;
margin-top: -16px;
position: relative;
z-index: 1000;
`;

0 comments on commit b2af2ed

Please sign in to comment.