Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
scss organized and DELETE message displayed on mouse over only
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntss committed Jun 2, 2016
1 parent f0606b7 commit 23da71c
Showing 1 changed file with 25 additions and 20 deletions.
45 changes: 25 additions & 20 deletions app/assets/stylesheets/comments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,36 @@
border: 0px;
}

.comment-thumbnail {
margin-right: 20px;
width: 40px;
img {
border-radius: 100%;
border: 4px solid $gray-light;
width: 40px;
}
}

.comment-content {
width: 100%;
}

.comment-content,
.comment-thumbnail {
display: inline-block;
vertical-align: top;
}

.comment-row {
padding: .5em 0;
display: flex;
&:hover {
background: $comment-row-hover;
}
.comment-thumbnail {
margin-right: 20px;
width: 40px;
img {
border-radius: 100%;
border: 4px solid $gray-light;
width: 40px;
}
}

.comment-content {
width: 100%;
}

.comment-content,
.comment-thumbnail {
display: inline-block;
vertical-align: top;
}
.destroy_comments_btn {
display: none;
}
&:hover .destroy_comments_btn {
display: inline-block;
}
}

0 comments on commit 23da71c

Please sign in to comment.