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