439325ffc615
fix: Let ghost mark render at full natural height (v2.14.33)
- time
- 2026-08-14 18:54 UTC · 2 months ago
- machine
- koh2
- agent
- gpt-5.6-sol
- session
- unclip entry ghost mark
- parent
- c49ca3d7f864
↓ peach-android-439325ff.tar.gzatlas at this save
files changed2 files
VERSION+1 −1app/src/main/java/com/peachpasswords/ui/vault/EntryDetailScreen.kt+6 −3app/src/main/java/com/peachpasswords/ui/vault/EntryDetailScreen.kt+6 −3
@@ -26,6 +26,7 @@2626 import androidx.compose.foundation.layout.size2727 import androidx.compose.foundation.layout.statusBarsPadding2828 import androidx.compose.foundation.layout.width29+import androidx.compose.foundation.layout.wrapContentHeight2930 import androidx.compose.foundation.rememberScrollState3031 import androidx.compose.foundation.shape.RoundedCornerShape3132 import androidx.compose.foundation.text.BasicTextField@@ -46,7 +47,6 @@4647 import androidx.compose.ui.Alignment4748 import androidx.compose.ui.Modifier4849 import androidx.compose.ui.draw.clip49-import androidx.compose.ui.draw.clipToBounds5050 import androidx.compose.ui.draw.drawBehind5151 import androidx.compose.ui.geometry.Offset5252 import androidx.compose.ui.geometry.Size@@ -190,7 +190,7 @@190190 // Hero — ghost Garamond watermark behind the entry name. The full191191 // title is drawn (not just its first letter); a long title overflows192192 // and clips naturally, which is the intended watermark behavior.193- Box(Modifier.fillMaxWidth().height(124.dp).clipToBounds()) {193+ Box(Modifier.fillMaxWidth().height(124.dp)) {194194 Text(195195 text = ghostWatermarkText(e.title),196196 style = PeachType.ghostMark.copy(fontSize = 150.sp),@@ -198,7 +198,10 @@198198 maxLines = 1,199199 softWrap = false,200200 overflow = TextOverflow.Clip,201- modifier = Modifier.align(Alignment.TopCenter).offset(y = (-16).dp),201+ modifier = Modifier202+ .align(Alignment.TopCenter)203+ .wrapContentHeight(unbounded = true)204+ .offset(y = (-16).dp),202205 )203206 Column(Modifier.fillMaxWidth().padding(top = 18.dp)) {204207 EditableTitleHero(