mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
优化删除按钮样式
This commit is contained in:
parent
156333fb54
commit
d79af227dd
@ -105,8 +105,11 @@
|
||||
.mobile {
|
||||
display: none;
|
||||
}
|
||||
.browser {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
.container {
|
||||
min-height: unset;
|
||||
min-width: unset;
|
||||
@ -131,6 +134,9 @@
|
||||
.mobile {
|
||||
display: block;
|
||||
}
|
||||
.browser {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
|
@ -230,9 +230,8 @@ export function SideBar(props: { className?: string }) {
|
||||
<IconButton icon={<SettingsIcon />} shadow />
|
||||
</Link>
|
||||
</div>
|
||||
<div className={styles["sidebar-action"]}>
|
||||
<div className={styles["sidebar-action"] + " " + styles.browser}>
|
||||
<IconButton
|
||||
// text={Locale.Settings.Danger.Clear.Title}
|
||||
onClick={async () => {
|
||||
if (await showConfirm(Locale.Settings.Danger.Clear.Confirm)) {
|
||||
chatStore.clearAllData();
|
||||
@ -240,7 +239,7 @@ export function SideBar(props: { className?: string }) {
|
||||
}}
|
||||
title={Locale.Settings.Danger.Clear.Title}
|
||||
icon={<DeleteIcon />}
|
||||
// type="danger"
|
||||
type="danger"
|
||||
className={styles["custom-sidebar-clear-button"]}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user