Skip to content

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

UX: Reduce specificity of reviewable item styles

Kris14952a9cbcaa
diff --git a/app/assets/stylesheets/common/base/reviewables.scss b/app/assets/stylesheets/common/base/reviewables.scss
index 15ff987deba..1860bb65e31 100644
--- a/app/assets/stylesheets/common/base/reviewables.scss
+++ b/app/assets/stylesheets/common/base/reviewables.scss
@@ -262,8 +262,7 @@
}
}
-.reviewable-queued-post,
-.reviewable-flagged-post {
+.reviewable-item {
.post-title {
background-color: yellow;
}
@@ -283,6 +282,23 @@
.post-contents {
width: 100%;
}
+
+ .post-body {
+ max-width: $topic-body-width;
+ max-height: 300px;
+ margin-top: 0.5em;
+ overflow-y: auto;
+
+ p,
+ aside {
+ margin: 0 0 1em 0;
+ }
+
+ p {
+ word-break: break-all;
+ }
+ }
+
.post-topic {
width: 100%;
color: $primary-medium;
@@ -302,24 +318,6 @@
}
}
-.reviewable-item {
- .post-body {
- max-width: $topic-body-width;
- max-height: 300px;
- margin-top: 0.5em;
- overflow-y: auto;
-
- p,
- aside {
- margin: 0 0 1em 0;
- }
-
- p {
- word-break: break-all;
- }
- }
-}
-
.editable-fields {
width: 100%;
.editable-field {