fix: make the PoW pill in note headers a bit smaller

Shrinks the DisplayPoW icon and text from 12 to 10 (dp/sp) and trims
horizontal padding so the pill takes less space inline in NoteCompose
headers.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PbpEL8rRBwLd2mgbAqBPvX
This commit is contained in:
Claude
2026-07-11 03:06:24 +00:00
parent c889952e58
commit 9801f03ce4
@@ -64,19 +64,19 @@ fun DisplayPoW(pow: Int) {
Modifier
.clip(RoundedCornerShape(50))
.background(MaterialTheme.colorScheme.secondaryContainer)
.padding(horizontal = 6.dp, vertical = 1.dp),
.padding(horizontal = 5.dp, vertical = 1.dp),
) {
Icon(
symbol = MaterialSymbols.Manufacturing,
contentDescription = stringRes(R.string.pow_settings_title),
tint = MaterialTheme.colorScheme.onSecondaryContainer,
modifier = Modifier.size(12.dp),
modifier = Modifier.size(10.dp),
)
Text(
text = pow.toString(),
color = MaterialTheme.colorScheme.onSecondaryContainer,
fontSize = 12.sp,
lineHeight = 12.sp,
fontSize = 10.sp,
lineHeight = 10.sp,
fontWeight = FontWeight.Bold,
maxLines = 1,
)