memos/web
Xylit 5526355621
fix: dark mode tag selection and suggestion (#3004)
* fix: use correct higlight color on selecting a tag in darkmode

* fix: take scrolling into account in tab suggestion

Issue: When editing a long memo and editing a tag somewhere where the user has
to scroll down to, the tag suggestions would be out of place (too far down)
because the scrolling wouldn't be taken into account.

Fix: Substract the suggestions div by the scroll amount.

* fix: don't show tag suggestion when on '#'

Fixes this issue like this:
1. Text #tag text
        ^ backspace here
2. Text#tag text
       ^ space
3. Text #tag text
        ^ tag suggestion opens
2024-02-27 09:16:56 +08:00
..
public fix: initial gomark wasm 2024-02-01 19:39:41 +08:00
src fix: dark mode tag selection and suggestion (#3004) 2024-02-27 09:16:56 +08:00
.env.example chore: add env example 2024-02-05 00:33:07 +08:00
.eslintrc.json chore: update eslint config 2024-02-04 22:52:47 +08:00
.gitignore fix: docker-compose.dev.yaml (#2695) 2024-01-02 18:33:19 +08:00
.prettierrc.js feat: add system service (#2083) 2023-08-05 21:30:23 +08:00
index.html fix: initial gomark wasm 2024-02-01 19:39:41 +08:00
package.json chore: add fuse to get tag suggestions 2024-02-24 11:02:46 +08:00
pnpm-lock.yaml chore: add fuse to get tag suggestions 2024-02-24 11:02:46 +08:00
postcss.config.js feat: use tailwindcss and show export btn 2022-01-31 19:16:01 +08:00
README.md chore: tweak readme 2024-02-23 08:25:54 +08:00
tailwind.config.js chore: update response styles 2023-11-08 22:10:15 +08:00
tsconfig.json refactor: update import prefix with alias (#1433) 2023-04-01 16:03:14 +08:00
vercel.json chore: add vercel.json 2024-02-05 00:01:31 +08:00
vite.config.ts chore: tweak timeline styles 2024-02-05 21:37:43 +08:00

The frontend of Memos