chore: tweak truncate styles

This commit is contained in:
Steven 2024-04-07 23:30:28 +08:00
parent a6b09aa5b1
commit 756ab71302
2 changed files with 2 additions and 4 deletions

View file

@ -107,9 +107,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
return (
<>
<div className="dialog-header-container">
<span className="title-text ml-auto">
{t(isCreating ? "setting.storage-section.create-storage" : "setting.storage-section.update-storage")}
</span>
<span>{t(isCreating ? "setting.storage-section.create-storage" : "setting.storage-section.update-storage")}</span>
<IconButton size="sm" onClick={handleCloseBtnClick}>
<Icon.X className="w-5 h-auto" />
</IconButton>

View file

@ -29,7 +29,7 @@ const UserBanner = (props: Props) => {
};
return (
<div className="relative w-auto h-auto px-1 shrink-0">
<div className="relative w-full h-auto px-1 shrink-0">
<Dropdown>
<MenuButton disabled={!user} slots={{ root: "div" }}>
<div