deb44debe166

fix notes text wrapping and replace font-size transition with GPU-accelerated scale transform (v2.39.6)

time
2026-05-13 15:48 UTC · 5 months ago
machine
koh2
parent
17a9ede2f7f8
5 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/styles/popup.css+5 −5src/popup/views/NotesMode.tsx+1 −1
manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.39.5",4+  "version": "2.39.6",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.39.5",4+  "version": "2.39.6",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "2.39.5",3+  "version": "2.39.6",44   "description": "Zero-knowledge password manager",55   "type": "module",66   "scripts": {

view file

src/popup/styles/popup.css+5 −5
@@ -8371,11 +8371,9 @@83718371   font-style: italic;83728372   font-size: 18px;83738373   color: var(--peach-t0);8374-  white-space: nowrap;8375-  overflow: hidden;8376-  text-overflow: ellipsis;83778374   line-height: 1.3;83788375   min-width: 0;8376+  overflow-wrap: break-word;83798377 }83808378 83818379 .peach-note-title-match {@@ -8702,6 +8700,7 @@87028700   font-family: 'Cormorant Garamond', serif;87038701   font-style: italic;87048702   font-weight: 600;8703+  font-size: 32px;87058704   color: var(--peach-t0);87068705   line-height: 1.2;87078706   white-space: nowrap;@@ -8709,10 +8708,11 @@87098708   text-overflow: ellipsis;87108709   pointer-events: none;87118710   z-index: 50;8711+  transform-origin: left top;87128712   transition:87138713     top 280ms cubic-bezier(0, 0, 0, 1),8714-    font-size 280ms cubic-bezier(0, 0, 0, 1);8715-  will-change: top, font-size;8714+    transform 280ms cubic-bezier(0, 0, 0, 1);8715+  will-change: top, transform;87168716 }87178717 87188718 /* TOC wrapper states */

view file

src/popup/views/NotesMode.tsx+1 −1
@@ -192,7 +192,7 @@192192           class="peach-note-expanding-title"193193           style={{194194             top: `${flyingTop()}px`,195-            "font-size": `${flyingFontSize()}px`,195+            transform: `scale(${flyingFontSize() / 32})`,196196           }}197197           aria-hidden="true"198198         >

view file