Skip to content

Commit

Permalink
Merge pull request #10548 from notbakaneko/feature/discussions-reply-…
Browse files Browse the repository at this point in the history
…textbox-colour

Workaround beatmap discussions reply box having wrong background colour
  • Loading branch information
nanaya authored Sep 12, 2023
2 parents 1d5c08c + 9c09042 commit 056a44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/css/bem/beatmap-discussion-post.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
}

&--new-reply {
// remove margin because this section is a different background colour to the parent
// and fortunately doesn't need an anchor. Also the padding for reply is on __content.
margin: 0;
background-color: @osu-colour-b5;
border-radius: 0 0 @border-radius-base @border-radius-base;
}
Expand Down Expand Up @@ -141,6 +144,7 @@
}

.@{_top}--new-reply & {
padding-top: 10px;
padding-bottom: 0;
}
}
Expand Down

0 comments on commit 056a44e

Please sign in to comment.