Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Tidy the css a bit

Matt Roberts7fb921f1fee1
diff --git a/public/components/common/form/CommentEditor.scss b/public/components/common/form/CommentEditor.scss
index 1dfe177bb..0332881bc 100644
--- a/public/components/common/form/CommentEditor.scss
+++ b/public/components/common/form/CommentEditor.scss
@@ -1,21 +1,22 @@
@import "~@fider/assets/styles/variables.scss";
/* Styling for content elements */
-.fider-tiptap-editor .ProseMirror p {
- margin: 0 0 0.75em 0;
-}
+.fider-tiptap-editor .ProseMirror {
+ p {
+ margin: 0 0 0.75em 0;
+ }
+ ul,
+ ol {
+ padding-left: 1.5em;
+ margin: 0.5em 0;
+ }
-.fider-tiptap-editor .ProseMirror ul,
-.fider-tiptap-editor .ProseMirror ol {
- padding-left: 1.5em;
- margin: 0.5em 0;
+ a {
+ color: #3b82f6;
+ text-decoration: underline;
+ }
}
-.fider-tiptap-editor .ProseMirror a {
- color: #3b82f6;
- text-decoration: underline;
-}
-// THese are the AI generated toolbar styles, I'll need to check these
.c-editor-toolbar {
border-bottom: 1px solid get("colors.gray.300");
padding: spacing(1);
@@ -85,14 +86,14 @@
content: "\200B";
}
}
- }
-}
-// Placeholder
-.tiptap p.tiptap-is-empty:first-child::before {
- color: get("colors.gray.400");
- content: attr(data-placeholder);
- float: left;
- height: 0;
- pointer-events: none;
+ // Placeholder
+ p.tiptap-is-empty:first-child::before {
+ color: get("colors.gray.400");
+ content: attr(data-placeholder);
+ float: left;
+ height: 0;
+ pointer-events: none;
+ }
+ }
}