mirror of
https://github.com/usememos/memos.git
synced 2025-03-10 04:23:01 +08:00
chore: tweak truncate styles
This commit is contained in:
parent
a6b09aa5b1
commit
756ab71302
2 changed files with 2 additions and 4 deletions
|
@ -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) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue