[Update] Config Page: Adjust Go back button to be a bit smaller and expand clickable range.

This commit is contained in:
Sakamoto Shiina
2024-09-02 07:51:24 +09:00
parent 91c2a9cb5b
commit e9d4ce2012
4 changed files with 30 additions and 21 deletions

View File

@@ -11,7 +11,6 @@ import { CompactSwitchBox } from "./compact_switch_box/CompactSwitchBox";
export const Topbar = () => {
const { currentIsOpenedConfigPage, updateIsOpenedConfigPage } = useIsOpenedConfigPage();
const closeConfigPage = () => {
console.log("close");
updateIsOpenedConfigPage(false);
};
@@ -24,6 +23,8 @@ export const Topbar = () => {
<div className={styles.wrapper} onClick={() => closeConfigPage()}>
<div className={styles.go_back_button}>
<ArrowLeftSvg className={styles.arrow_left_svg} />
</div>
<div className={styles.go_back_text_wrapper}>
<p className={styles.go_back_text}>Go Back</p>
</div>