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: update daily review dialog style

boojack2d093d5be05e
diff --git a/web/src/components/DailyReviewDialog.tsx b/web/src/components/DailyReviewDialog.tsx
index 550979815..0d2549fb8 100644
--- a/web/src/components/DailyReviewDialog.tsx
+++ b/web/src/components/DailyReviewDialog.tsx
@@ -72,6 +72,7 @@ const DailyReviewDialog: React.FC<Props> = (props: Props) => {
<button className="btn-text" onClick={handleShareBtnClick}>
<i className="fa-solid fa-share-nodes icon-img"></i>
</button>
+ <span className="split-line">/</span>
<button className="btn-text" onClick={() => props.destroy()}>
<i className="fa-solid fa-xmark fa-lg icon-img"></i>
</button>
diff --git a/web/src/less/daily-review-dialog.less b/web/src/less/daily-review-dialog.less
index f0b5b9d73..ebb5e7556 100644
--- a/web/src/less/daily-review-dialog.less
+++ b/web/src/less/daily-review-dialog.less
@@ -10,7 +10,7 @@
@apply relative flex flex-row justify-between items-center w-full p-6 pb-0 mb-0;
> .title-text {
- @apply cursor-pointer select-none rounded hover:bg-gray-100;
+ @apply px-2 py-1 -ml-2 cursor-pointer select-none rounded hover:bg-gray-100;
}
> .btns-container {
@@ -27,6 +27,10 @@
@apply ~"p-0.5";
}
}
+
+ > .split-line {
+ @apply font-mono text-gray-300 mr-2;
+ }
}
> .date-picker {