mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
Better sidebar logo in two themes
This commit is contained in:
parent
ebf0081cc1
commit
6e1fb5ca50
@ -1,6 +1,7 @@
|
||||
import DeleteIcon from "../icons/delete.svg";
|
||||
import styles from "./home.module.scss";
|
||||
import BotIcon from "../icons/bot.svg";
|
||||
import ChatGptIcon from "../icons/chatgpt.svg";
|
||||
import {
|
||||
DragDropContext,
|
||||
Droppable,
|
||||
@ -120,7 +121,7 @@ export function ChatList() {
|
||||
<>
|
||||
{sidebarCollapse && (
|
||||
<div className={styles["gpt-logo-collapse"]}>
|
||||
<BotIcon />
|
||||
<ChatGptIcon />
|
||||
</div>
|
||||
)}
|
||||
<DragDropContext onDragEnd={onDragEnd}>
|
||||
|
@ -166,13 +166,14 @@
|
||||
}
|
||||
|
||||
.gpt-logo-collapse {
|
||||
margin-left: 2px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.gpt-logo-collapse svg {
|
||||
transform: scale(1.3);
|
||||
opacity: 0.2;
|
||||
transform: scale(0.7);
|
||||
}
|
||||
|
||||
.sidebar-title {
|
||||
|
Loading…
Reference in New Issue
Block a user