Skip to content

Commit 3139d72

Browse files
committed
feat: better close button color in the image option in ai panel
1 parent 0d9c0e6 commit 3139d72

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

src/styles/Extn-AIChatPanel.less

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,31 +1887,28 @@
18871887

18881888
.ai-image-remove {
18891889
position: absolute;
1890-
top: -6px;
1891-
right: -6px;
1892-
width: 16px;
1893-
height: 16px;
1890+
top: -8px;
1891+
right: -8px;
1892+
width: 20px;
1893+
height: 20px;
18941894
border-radius: 50%;
1895-
background: rgba(255, 255, 255, 0.12);
1896-
border: 1px solid rgba(255, 255, 255, 0.18);
1897-
color: rgba(255, 255, 255, 0.7);
1898-
font-size: 11px;
1895+
background: rgba(0, 0, 0, 0.6);
1896+
border: 1px solid rgba(255, 255, 255, 0.3);
1897+
color: #fff;
1898+
font-size: 12px;
1899+
line-height: 1;
18991900
padding: 0;
1900-
display: none;
1901+
display: flex;
19011902
align-items: center;
19021903
justify-content: center;
19031904
cursor: pointer;
19041905
transition: background 150ms, color 150ms;
19051906

19061907
&:hover {
1907-
background: rgba(255, 255, 255, 0.22);
1908+
background: rgba(255, 255, 255, 0.25);
19081909
color: #fff;
19091910
}
19101911
}
1911-
1912-
&:hover .ai-image-remove {
1913-
display: flex;
1914-
}
19151912
}
19161913

19171914
.ai-file-chip {

0 commit comments

Comments
 (0)