From 597fee16df4108190d490c88456e9bee0e0fb993 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Mon, 2 Sep 2024 08:38:06 +0900 Subject: [PATCH] [bugfix] Main Page: MainFunctionSwitches. fix the label width that was shrinking and wrapping unexpectedly. --- .../main_function_switch/MainFunctionSwitch.module.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss b/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss index bcdd30c5..bb0b65f2 100644 --- a/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss +++ b/src-ui/app/main_page/sidebar_section/main_function_switch/MainFunctionSwitch.module.scss @@ -9,7 +9,7 @@ .switch_container { position: relative; display: flex; - justify-content: center; + justify-content: space-between; align-items: center; padding: 1.6rem 1.4rem; background-color: var(--dark_825_color); @@ -29,7 +29,6 @@ } .label_wrapper { - width: 100%; display: flex; justify-content: left; align-items: center; @@ -85,7 +84,6 @@ $loading_label_color: var(--dark_500_color); display: flex; justify-content: end; align-items: center; - width: 100%; &.is_compact_mode { display: none; }