diff --git a/src/components/Chat/TipTap.tsx b/src/components/Chat/TipTap.tsx
index be6abff..c7e3e7f 100644
--- a/src/components/Chat/TipTap.tsx
+++ b/src/components/Chat/TipTap.tsx
@@ -146,11 +146,17 @@ const MenuBar = ({ setEditorRef, isChat }) => {
>
- editor.chain().focus().unsetAllMarks().run()}>
-
-
+ editor.chain().focus().unsetAllMarks().run()}
+ sx={{
+ color: editor.isActive('bold') || editor.isActive('italic') || editor.isActive('strike') || editor.isActive('code')
+ ? 'white'
+ : 'gray',
+ padding: isMobile ? '5px' : 'revert',
+ }}
+>
+
+
editor.chain().focus().toggleBulletList().run()}
// color={editor.isActive('bulletList') ? 'white' : 'gray'}
@@ -191,9 +197,16 @@ const MenuBar = ({ setEditorRef, isChat }) => {
>
- editor.chain().focus().setHorizontalRule().run()}>
-
-
+ editor.chain().focus().setHorizontalRule().run()}
+ disabled={!editor.can().chain().focus().setHorizontalRule().run()}
+ sx={{
+ color: 'gray',
+ padding: isMobile ? '5px' : 'revert',
+ }}
+>
+
+
editor.chain().focus().toggleHeading({ level: 1 }).run()}
// color={editor.isActive('heading', { level: 1 }) ? 'white' : 'gray'}