20 Commits

Author SHA1 Message Date
7109165af1 Update dependency @tailwindcss/postcss to v4.2.4 2026-04-25 00:02:10 +00:00
1d417bb1bb Merge pull request 'deepdiverpaul-patch-1' (#10) from deepdiverpaul-patch-1 into main
Reviewed-on: #10
2026-04-02 20:13:39 +00:00
dfb410af84 Update renovate.json 2026-04-02 20:12:49 +00:00
b1be93e440 Update renovate.json 2026-04-02 20:10:35 +00:00
20467da38e Merge pull request 'Update dependency vite to v8.0.3' (#8) from renovate/vite-8.x-lockfile into main 2026-03-27 00:02:55 +00:00
e3d5bee4d0 Update dependency vite to v8.0.3 2026-03-27 00:02:35 +00:00
4ac4cc00e7 Merge pull request 'Update tailwindcss monorepo to v4.2.2' (#7) from renovate/tailwindcss-monorepo into main 2026-03-24 00:01:14 +00:00
f8a8a37642 Update tailwindcss monorepo to v4.2.2 2026-03-24 00:00:59 +00:00
f4fdd540d9 Merge pull request 'dev' (#6) from dev into main
Reviewed-on: #6
2026-03-23 19:21:24 +00:00
2be891cec9 Merge remote-tracking branch 'origin/main' 2026-03-23 20:19:33 +01:00
65f8ccc843 Merge pull request 'Update dependency vite to v8.0.2' (#5) from renovate/vite-8.x-lockfile into main 2026-03-23 18:41:26 +00:00
f2278f38fe Update dependency vite to v8.0.2 2026-03-23 18:41:02 +00:00
55e7bf0559 Merge pull request 'Update dependency vite-plugin-static-copy to v4' (#2) from renovate/vite-plugin-static-copy-4.x into main
Reviewed-on: #2
2026-03-23 17:41:51 +00:00
927d95fd4b Merge branch 'main' into renovate/vite-plugin-static-copy-4.x 2026-03-23 17:41:21 +00:00
4819c47e8c Merge pull request 'Update dependency marked to v17.0.5' (#4) from renovate/marked-17.x-lockfile into main 2026-03-23 15:36:58 +00:00
bb942a6fe1 Update dependency marked to v17.0.5 2026-03-23 15:36:48 +00:00
653e99159f Update dependency vite-plugin-static-copy to v4 2026-03-23 15:10:41 +00:00
9cfca3e695 Refactor popup layout and CSS for improved flexibility and responsiveness. 2026-03-23 14:20:58 +01:00
3171cd252d Merge pull request 'Add renovate.json' (#1) from deepdiverpaul-patch-1 into main
Reviewed-on: deepDiverPaul/memos-chrome-extension#1
2026-03-23 12:52:26 +00:00
2c3674022d Add renovate.json 2026-03-23 12:52:14 +00:00
5 changed files with 283 additions and 442 deletions

686
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,7 @@
"postcss": "^8.5.8",
"tailwindcss": "^4.2.1",
"vite": "^8.0.0",
"vite-plugin-static-copy": "^3.3.0"
"vite-plugin-static-copy": "^4.0.0"
},
"dependencies": {
"marked": "^17.0.4"

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>spenke-nordic-ab/renovate-config"
]
}

View File

@@ -37,18 +37,29 @@
html, body {
width: 440px;
min-height: 200px;
max-height: 600px;
background: var(--bg);
color: var(--text);
font-family: var(--font);
font-size: 13px;
line-height: 1.5;
overflow-x: hidden;
overflow-y: hidden;
}
/* ── Views ── */
.view { display: flex; flex-direction: column; }
.view.hidden { display: none !important; }
/* ── Main view fills viewport, footer always visible ── */
#view-main {
height: 600px;
max-height: 600px;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* ── Loading ── */
#view-loading {
align-items: center;
@@ -170,13 +181,14 @@ header {
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
/* ── Tab panels ── */
.tab-panel { flex: 1; }
.tab-panel.hidden { display: none; }
.tab-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tab-panel.hidden { display: none !important; }
#md-editor {
display: block;
width: 100%;
height: 260px;
flex: 1;
min-height: 0;
background: var(--bg);
border: none;
border-bottom: 1px solid var(--border);
@@ -191,7 +203,8 @@ header {
#md-editor::placeholder { color: var(--text-muted); }
.preview-body {
height: 260px;
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 14px 16px;
border-bottom: 1px solid var(--border);

View File

@@ -57,14 +57,14 @@
</div>
<!-- edit panel -->
<div id="tab-edit" class="tab-panel flex flex-col h-96 border-b border-gray-100 dark:border-gray-800">
<textarea rows="14" id="md-editor" spellcheck="false" placeholder="Markdown content…" class="flex-1 w-full p-3 text-sm resize-none focus:outline-none focus:ring-1 focus:ring-emerald-100 dark:focus:ring-emerald-900/30 bg-transparent text-inherit"></textarea>
<div id="char-counter" class="char-counter text-right px-3 py-1 text-[10px] text-gray-400">0 chars</div>
<div id="tab-edit" class="tab-panel flex flex-col flex-1 min-h-0">
<textarea id="md-editor" spellcheck="false" placeholder="Markdown content…"></textarea>
<div id="char-counter" class="char-counter">0 chars</div>
</div>
<!-- preview panel -->
<div id="tab-preview" class="tab-panel hidden h-64 overflow-y-auto p-3 border-b border-gray-100 dark:border-gray-800">
<div id="md-preview" class="preview-body prose prose-sm dark:prose-invert max-w-none"></div>
<div id="tab-preview" class="tab-panel hidden flex flex-col flex-1 min-h-0">
<div id="md-preview" class="preview-body"></div>
</div>
<!-- images section -->