From 43f0bf60277dc1c93f001974405dcb169583cb79 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 1 Jan 2026 14:38:47 +0900 Subject: [PATCH] [Update] Adjust button padding and entry width in OpenWebpageButton; add responsive text size in SidebarSection --- .../_OpenWebpageButton.module.scss | 3 ++- .../setting_box/_components/auth_key/AuthKey.jsx | 2 +- .../app/config_page/sidebar_section/SidebarSection.jsx | 10 ++++++++-- .../sidebar_section/SidebarSection.module.scss | 3 +++ 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src-ui/views/app/config_page/setting_section/setting_box/_components/_atoms/_open_webpage_button/_OpenWebpageButton.module.scss b/src-ui/views/app/config_page/setting_section/setting_box/_components/_atoms/_open_webpage_button/_OpenWebpageButton.module.scss index fd300952..9547963f 100644 --- a/src-ui/views/app/config_page/setting_section/setting_box/_components/_atoms/_open_webpage_button/_OpenWebpageButton.module.scss +++ b/src-ui/views/app/config_page/setting_section/setting_box/_components/_atoms/_open_webpage_button/_OpenWebpageButton.module.scss @@ -2,10 +2,11 @@ display: flex; justify-content: center; align-items: center; + width: fit-content; } .open_webpage_button { - padding: 0.6rem 2.8rem; + padding: 0.6rem 1.2rem; display: flex; gap: 1rem; justify-content: center; diff --git a/src-ui/views/app/config_page/setting_section/setting_box/_components/auth_key/AuthKey.jsx b/src-ui/views/app/config_page/setting_section/setting_box/_components/auth_key/AuthKey.jsx index 85ae9928..4cddbdeb 100644 --- a/src-ui/views/app/config_page/setting_section/setting_box/_components/auth_key/AuthKey.jsx +++ b/src-ui/views/app/config_page/setting_section/setting_box/_components/auth_key/AuthKey.jsx @@ -38,7 +38,7 @@ export const AuthKey = (props) => { return (
- <_Entry ref={entryRef} width="30rem" onChange={onchangeEntryAuthKey} ui_variable={props.variable} is_disabled={is_disabled}/> + <_Entry ref={entryRef} width="24rem" onChange={onchangeEntryAuthKey} ui_variable={props.variable} is_disabled={is_disabled}/>