fix(web): prevent logout button overflow

This commit is contained in:
dahyeon committed 2026-06-09 03:54:11 -07:00
1 parent 4657cd453c
commit d3d5f2b348
1 file changed
+3 -2
+3 -2
View File
@@ -38,10 +38,11 @@ function MsalHeaderActions() {
return ( return (
<button <button
type="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()} 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> </button>
); );
} }