1
0
forked from baron/baron-sso

af 린트 적용

This commit is contained in:
2026-02-23 17:45:24 +09:00
parent 4011a65683
commit d525895ae7
5 changed files with 65 additions and 35 deletions

View File

@@ -63,7 +63,8 @@ const RoleSwitcher: FC = () => {
border: "1px solid #333",
}}
>
<div
<button
type="button"
style={{
display: "flex",
alignItems: "center",
@@ -73,6 +74,11 @@ const RoleSwitcher: FC = () => {
fontWeight: "bold",
paddingBottom: isCollapsed ? "0" : "4px",
borderBottom: isCollapsed ? "none" : "1px solid #444",
background: "transparent",
border: "none",
width: "100%",
color: "inherit",
textAlign: "inherit",
}}
onClick={toggleCollapse}
>
@@ -88,7 +94,7 @@ const RoleSwitcher: FC = () => {
)}
</div>
{isCollapsed ? <ChevronUp size={14} /> : <ChevronDown size={14} />}
</div>
</button>
{!isCollapsed && (
<div