fix(web): prevent logout button overflow
This commit is contained in:
1 parent
4657cd453c
commit
d3d5f2b348
1 file changed
+3
-2
@@ -38,10 +38,11 @@ function MsalHeaderActions() {
|
||||
return (
|
||||
<button
|
||||
type="button"
|
||||
className="btn btn-ghost btn-sm px-3"
|
||||
className="btn btn-ghost btn-sm px-3 max-w-[45vw] sm:max-w-none"
|
||||
onClick={() => void instance.logoutRedirect()}
|
||||
>
|
||||
{account.name ?? account.username} 로그아웃
|
||||
<span className="truncate">{account.name ?? account.username}</span>
|
||||
<span className="hidden shrink-0 sm:inline">로그아웃</span>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user