Skip to content

Commit

Permalink
css class name convention and icon spacing with "text"
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 3, 2022
1 parent a385841 commit cc2a9ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/appeal/discussion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ object discussion {
div(cls := "appeal__msg__text")(richText(msg.text))
)
},
modData.exists(_.markedByMe) option div(dataIcon := "", cls := "marked_by_me")(
modData.exists(_.markedByMe) option div(dataIcon := "", cls := "marked-by-me text")(
"You have marked this user. Appeal should be handled by another moderator"
),
if (modData.isEmpty && !appeal.canAddMsg) p("Please wait for a moderator to reply.")
Expand Down
4 changes: 3 additions & 1 deletion app/views/appeal/queue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ object queue {
td(
userIdLink(appeal.id.some),
br,
markedByMe.contains(appeal.id) option span(dataIcon := "", cls := "marked_by_me")("My mark"),
markedByMe.contains(appeal.id) option span(dataIcon := "", cls := "marked-by-me text")(
"My mark"
),
views.html.user.mod.userMarks(user, None)
),
td(appeal.msgs.lastOption map { msg =>
Expand Down
2 changes: 1 addition & 1 deletion ui/site/css/_appeal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}
}

.marked_by_me {
.marked-by-me {
@extend %box-radius;

border-radius: 20px;
Expand Down

0 comments on commit cc2a9ec

Please sign in to comment.