Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: tweak truncate styles

Steven756ab71302a9
diff --git a/web/src/components/CreateStorageServiceDialog.tsx b/web/src/components/CreateStorageServiceDialog.tsx
index d9be9dac8..16d6d2c3c 100644
--- a/web/src/components/CreateStorageServiceDialog.tsx
+++ b/web/src/components/CreateStorageServiceDialog.tsx
@@ -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>
diff --git a/web/src/components/UserBanner.tsx b/web/src/components/UserBanner.tsx
index f2b957a11..d77f1c49a 100644
--- a/web/src/components/UserBanner.tsx
+++ b/web/src/components/UserBanner.tsx
@@ -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