Browse Source

Fix and add todo

satof3 1 year ago
parent
commit
56baa7a1f5

+ 1 - 1
apps/app/src/client/components/ShortcutsModal.module.scss

@@ -9,7 +9,7 @@
 
     /* Text Properties */
     background: var(--bs-tertiary-bg);
-    border: var(--bs-border-width) solid var(--bs-secondary-border-subtle);
+    border: var(--bs-border-width) solid var(--bs-border-color);
     border-radius: var(--bs-border-radius-sm);
   }
 }

+ 5 - 1
apps/app/src/client/components/ShortcutsModal.tsx

@@ -191,7 +191,10 @@ const ShortcutsModal = (): JSX.Element => {
               {/* Insert Line */}
               <li className="d-flex align-items-center p-3 border-bottom">
                 <div className="flex-grow-1">
-                  <span dangerouslySetInnerHTML={{ __html: t('modal_shortcuts.editor.Insert Line') }} />
+                  <span
+                  // eslint-disable-next-line react/no-danger
+                    dangerouslySetInnerHTML={{ __html: t('modal_shortcuts.editor.Insert Line') }}
+                  />
                   <br />
                   <span className="small text-secondary ms-1">{t('modal_shortcuts.editor.Post Comment')}</span>
                 </div>
@@ -242,6 +245,7 @@ const ShortcutsModal = (): JSX.Element => {
               </li>
             </ul>
           </div>
+          {/* TODO: Add docs link button https://redmine.weseek.co.jp/issues/161862 */}
         </div>
       </div>
     );