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.

fix: collapse btn cursor style (#586)

Zeng19981ee8ebc9e1b9
diff --git a/web/src/less/memo-content.less b/web/src/less/memo-content.less
index ebac5a199..e38e0f764 100644
--- a/web/src/less/memo-content.less
+++ b/web/src/less/memo-content.less
@@ -91,7 +91,7 @@
@apply w-full relative flex flex-row justify-start items-center;
> .btn {
- @apply flex flex-row justify-start items-center pl-2 pr-1 py-1 my-1 text-xs rounded-lg border bg-gray-100 border-gray-200 opacity-80 shadow hover:opacity-60;
+ @apply flex flex-row justify-start items-center pl-2 pr-1 py-1 my-1 text-xs rounded-lg border bg-gray-100 border-gray-200 opacity-80 shadow hover:opacity-60 cursor-pointer;
&.expand-btn {
@apply mt-2;
diff --git a/web/src/less/memo.less b/web/src/less/memo.less
index f771b315e..1e1df5757 100644
--- a/web/src/less/memo.less
+++ b/web/src/less/memo.less
@@ -118,30 +118,4 @@
}
}
}
-
- > .expand-btn-container {
- @apply w-full relative flex flex-row justify-start items-center;
-
- > .btn {
- @apply flex flex-row justify-start items-center pl-2 pr-1 py-1 my-1 text-xs rounded-lg border bg-gray-100 border-gray-200 opacity-80 shadow hover:opacity-60;
-
- &.expand-btn {
- @apply mt-2;
-
- > .icon-img {
- @apply rotate-90;
- }
- }
-
- &.fold-btn {
- > .icon-img {
- @apply -rotate-90;
- }
- }
-
- > .icon-img {
- @apply w-4 h-auto ml-1 transition-all;
- }
- }
- }
}