Skip to content

Commit

Permalink
remove comment share feature
Browse files Browse the repository at this point in the history
  • Loading branch information
SiAdcock committed May 31, 2022
1 parent a55ec20 commit 7284088
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 78 deletions.
4 changes: 0 additions & 4 deletions discussion/app/views/fragments/comment.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@
Reply
</a>

@if(SharingComments.isSwitchedOn) {
@commentShare(comment)
}

<span class="d-comment__action-separator d-staff-required">|</span>

<button class="u-button-reset d-comment__action d-comment__action--pick d-staff-required" role="button"
Expand Down
39 changes: 0 additions & 39 deletions discussion/app/views/fragments/commentShare.scala.html

This file was deleted.

35 changes: 0 additions & 35 deletions static/src/stylesheets/module/_discussion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -838,9 +838,6 @@ $comment-recommend-button-size: 19px;
.d-comment__action-pick {
display: none;
}
.d-comment__action--share {
margin: 0;
}
}
}

Expand Down Expand Up @@ -911,38 +908,6 @@ $comment-recommend-button-size: 19px;
}
}

.d-comment__action--share {
vertical-align: middle;
margin-left: $gs-gutter / 4;

&:hover {
.sharing-text span:nth-child(2) {
text-decoration: underline;
}

.comment-facebook-icon,
.comment-twitter-icon {
transform: scale(1);
cursor: pointer;
vertical-align: middle;
}

.comment-facebook-icon {
transition: all .2s ease-in-out;
}

.comment-twitter-icon {
transition: all .2s .1s ease-in-out;
}
}
}

.sharing-text {
cursor: pointer;
display: inline-block;
margin-right: $gs-gutter / 4;
}

.comment-share-icon {
fill: $brand-main;
}
Expand Down

0 comments on commit 7284088

Please sign in to comment.