Commit 756ab713 authored by Steven's avatar Steven

chore: tweak truncate styles

parent a6b09aa5
...@@ -107,9 +107,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => { ...@@ -107,9 +107,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
return ( return (
<> <>
<div className="dialog-header-container"> <div className="dialog-header-container">
<span className="title-text ml-auto"> <span>{t(isCreating ? "setting.storage-section.create-storage" : "setting.storage-section.update-storage")}</span>
{t(isCreating ? "setting.storage-section.create-storage" : "setting.storage-section.update-storage")}
</span>
<IconButton size="sm" onClick={handleCloseBtnClick}> <IconButton size="sm" onClick={handleCloseBtnClick}>
<Icon.X className="w-5 h-auto" /> <Icon.X className="w-5 h-auto" />
</IconButton> </IconButton>
......
...@@ -29,7 +29,7 @@ const UserBanner = (props: Props) => { ...@@ -29,7 +29,7 @@ const UserBanner = (props: Props) => {
}; };
return ( return (
<div className="relative w-auto h-auto px-1 shrink-0"> <div className="relative w-full h-auto px-1 shrink-0">
<Dropdown> <Dropdown>
<MenuButton disabled={!user} slots={{ root: "div" }}> <MenuButton disabled={!user} slots={{ root: "div" }}>
<div <div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment