forked from baron/baron-sso
af 린트 적용
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user