Skip to content

A platform for community discussion. Free, open, simple.

UX: update styling for flagged post (#37195)

chapoi835f6569efc5
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index e952df2385d..edf738e81c6 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -8,10 +8,12 @@
span {
background-color: var(--danger);
color: var(--secondary);
- padding: 0.15em 0.3em 0.2em;
display: inline-block;
- font-size: var(--font-down-2);
- border-radius: var(--d-button-border-radius);
+ font-size: var(--font-down-2-rem);
+ border-radius: 1em;
+ height: 1rem;
+ width: 1rem;
+ line-height: 1rem;
}
}
@@ -370,6 +372,10 @@ nav.post-controls {
var(--d-post-control-border-radius) 0;
}
+ &:nth-child(2) {
+ padding-left: var(--space-1);
+ }
+
&:first-child:last-child {
border-radius: var(--d-post-control-border-radius);
}
@@ -391,11 +397,6 @@ nav.post-controls {
flex-direction: row-reverse;
}
- + .toggle-like {
- // Like button when like count is present
- padding-left: 0.45em;
- }
-
// Like count button
.discourse-no-touch & {
&:hover {