Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f2ef7c

Browse filesBrowse files
committed
fix: big blue heading btn not staying in heading area on hover, was unreachable and disappeared
1 parent 5428c10 commit 4f2ef7c
Copy full SHA for 4f2ef7c

File tree

Expand file treeCollapse file tree

2 files changed

+20
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+20
-1
lines changed

‎packages/webapp/components/TipTap/extentions/ChatCommentExtension.js

Copy file name to clipboardExpand all lines: packages/webapp/components/TipTap/extentions/ChatCommentExtension.js
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,15 @@ const createChatCommentButton = (view, selection) => {
6565

6666
button.style.top = `${Math.round(adjustedTop)}px`
6767

68-
button.classList.add('btn', 'btn-circle', 'btn-primary', 'size-12', 'min-h-10', 'shadow-md')
68+
button.classList.add(
69+
'btn',
70+
'btn-circle',
71+
'btn-primary',
72+
'size-12',
73+
'min-h-10',
74+
'shadow-md',
75+
'z-1'
76+
)
6977

7078
view.dom.parentNode.appendChild(button)
7179
}

‎packages/webapp/styles/styles.scss

Copy file name to clipboardExpand all lines: packages/webapp/styles/styles.scss
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,17 @@ $bg-root: #f8f9fa;
276276
z-index: 1;
277277
min-width: 100%;
278278

279+
&::after {
280+
content: '';
281+
display: block;
282+
width: 60px;
283+
height: 100%;
284+
position: absolute;
285+
right: -60px;
286+
z-index: -10;
287+
top: 0;
288+
}
289+
279290
&:hover .btnOpenChatBox {
280291
visibility: visible;
281292
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.