Skip to content

Commit 57f2364

Browse files
committed
fix FE tooltip
1 parent 99d6439 commit 57f2364

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5955,6 +5955,13 @@ textarea.form-control-lg {
59555955
width: var(--bs-popover-arrow-width);
59565956
height: var(--bs-popover-arrow-height);
59575957
}
5958+
.custom-popover .popover-arrow {
5959+
position: absolute;
5960+
display: block;
5961+
width: 10px;
5962+
height: 5px;
5963+
margin: 0 5px;
5964+
}
59585965
.popover .popover-arrow::before, .popover .popover-arrow::after {
59595966
position: absolute;
59605967
display: block;

apps/remix-ide/src/assets/css/themes/remix-light_powaqg.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5949,6 +5949,13 @@ textarea.form-control-lg {
59495949
width: var(--bs-popover-arrow-width);
59505950
height: var(--bs-popover-arrow-height);
59515951
}
5952+
.custom-popover .popover-arrow {
5953+
position: absolute;
5954+
display: block;
5955+
width: 10px;
5956+
height: 5px;
5957+
margin: 0 5px;
5958+
}
59525959
.popover .popover-arrow::before, .popover .popover-arrow::after {
59535960
position: absolute;
59545961
display: block;

libs/remix-ui/workspace/src/lib/components/flat-tree.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export const FlatTree = (props: FlatTreeProps) => {
320320
<Popover id='popover-basic'
321321
placement='top'
322322
ref={ref}
323-
className='popover'
323+
className='custom-popover'
324324
style={
325325
{
326326
position: 'fixed',
@@ -329,7 +329,7 @@ export const FlatTree = (props: FlatTreeProps) => {
329329
minWidth: 'fit-content'
330330
}
331331
}>
332-
<Popover.Body className='text-wrap p-1 px-2 bg-secondary w-100'>
332+
<Popover.Body className='text-wrap p-1 px-2 bg-body w-100'>
333333
{mouseOverTarget && mouseOverTarget.path}
334334
</Popover.Body>
335335
</Popover>

0 commit comments

Comments
 (0)