Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2119 from Yidadaa/bugfix-0624
Browse files Browse the repository at this point in the history
chore: delete chat button position
  • Loading branch information
Yidadaa authored Jun 24, 2023
2 parents 7ee062e + b5eaa82 commit 8f66da1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions app/components/home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@

.chat-item-delete {
position: absolute;
top: 10px;
top: 0;
right: 0;
transition: all ease 0.3s;
opacity: 0;
Expand All @@ -194,7 +194,7 @@

.chat-item:hover > .chat-item-delete {
opacity: 0.5;
transform: translateX(-10px);
transform: translateX(-4px);
}

.chat-item:hover > .chat-item-delete:hover {
Expand Down Expand Up @@ -283,15 +283,6 @@
}
}

.chat-item-delete {
top: 15px;
}

.chat-item:hover > .chat-item-delete {
opacity: 0.5;
right: 5px;
}

.sidebar-tail {
flex-direction: column-reverse;
align-items: center;
Expand Down Expand Up @@ -568,6 +559,6 @@
width: 100%;
}

.rtl-screen{
.rtl-screen {
direction: rtl;
}

0 comments on commit 8f66da1

Please sign in to comment.