forked from XiaoMo/ChatGPT-Next-Web
fix: #1423 should not scroll right when dragging side bar items
This commit is contained in:
parent
d9be63e6cb
commit
6da3aab046
@ -186,7 +186,7 @@
|
|||||||
.chat-item-delete {
|
.chat-item-delete {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: -20px;
|
right: 0;
|
||||||
transition: all ease 0.3s;
|
transition: all ease 0.3s;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
.chat-item:hover > .chat-item-delete {
|
.chat-item:hover > .chat-item-delete {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
right: 10px;
|
transform: translateX(-10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-item:hover > .chat-item-delete:hover {
|
.chat-item:hover > .chat-item-delete:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user