Browse Source

clean code

jam411 3 years ago
parent
commit
4d38a1c20d

+ 1 - 0
packages/app/src/components/Navbar/GlobalSearch.tsx

@@ -15,6 +15,7 @@ import SearchForm from '../SearchForm';
 
 import styles from './GlobalSearch.module.scss';
 
+
 export type GlobalSearchProps = {
   dropup?: boolean,
 }

+ 1 - 1
packages/app/src/components/PageComment/Comment.module.scss

@@ -1,7 +1,7 @@
 @use '../../styles/bootstrap/init' as bs;
 @use './_comment-inheritance';
 
-// TODO: Never use this class. From _comment.scss
+// TODO: Never use this class. From "../../styles/_comment.scss"
 // pointer-events moved to .page-commnet
 .page-comments {
   // .page-comments-list-toggle-older {

+ 1 - 1
packages/app/src/components/PageComment/Comment.tsx

@@ -134,7 +134,7 @@ export const Comment = (props: CommentProps): JSX.Element => {
       ) : (
         <div id={commentId} className={rootClassName}>
           <div className="page-comment-writer">
-            <UserPicture user={creator} noLink noTooltip />
+            <UserPicture user={creator} />
           </div>
           <div className="page-comment-main">
             <div className="page-comment-creator">

+ 2 - 2
packages/app/src/components/PageComment/CommentEditor.module.scss

@@ -4,7 +4,7 @@
 // display cheatsheet for comment form only
 .comment-editor-styles :global {
   .comment-form {
-    // TODO: Never use this class
+    // TODO: Never use this class. From "../../styles/_comment_growi.scss"
     // .editor-cheatsheet {
     //   display: none;
     // }
@@ -30,7 +30,7 @@
     .comment-write {
       margin-bottom: 0.5em;
     }
-    // TODO: Never use this class
+    // TODO: Never use this class. From "../../styles/_comment_growi.scss"
     // .comment-form-comment {
     //   height: 80px;
     //   &:focus,