Compare commits

...

3 Commits

Author SHA1 Message Date
e4468d305e Improve Blossom UI responsiveness and layout (v0.37.2)
Some checks failed
Go / build-and-release (push) Has been cancelled
- Show full npub on screens > 720px, truncated on smaller screens
- Make admin users list extend to full width

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 13:20:49 +01:00
d3f2ea0f08 Fix Blossom view layout overflow (v0.37.1)
Some checks failed
Go / build-and-release (push) Has been cancelled
- Use box-sizing instead of explicit width to fix right edge overflow

Files modified:
- pkg/version/version: Bump to v0.37.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 13:15:13 +01:00
3f07e47ffb Fix Blossom view right edge overflow 2025-12-25 13:10:44 +01:00
5 changed files with 25 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -524,7 +524,8 @@
{userStat.profile?.name || truncateNpub(hexToNpub(userStat.pubkey))}
</div>
<div class="user-npub" title={userStat.pubkey}>
{truncateNpub(hexToNpub(userStat.pubkey))}
<span class="npub-full">{hexToNpub(userStat.pubkey)}</span>
<span class="npub-truncated">{truncateNpub(hexToNpub(userStat.pubkey))}</span>
</div>
</div>
<div class="user-stats">
@@ -686,7 +687,7 @@
<style>
.blossom-view {
padding: 1em;
width: 100%;
box-sizing: border-box;
}
.header-section {
@@ -858,6 +859,7 @@
display: flex;
flex-direction: column;
gap: 0.5em;
width: 100%;
}
.blob-item {
@@ -957,6 +959,7 @@
display: flex;
flex-direction: column;
gap: 0.5em;
width: 100%;
}
.user-stat-item {
@@ -1007,8 +1010,14 @@
font-size: 0.8em;
color: var(--text-color);
opacity: 0.6;
overflow: hidden;
text-overflow: ellipsis;
}
.npub-full {
display: inline;
}
.npub-truncated {
display: none;
}
.user-stats {
@@ -1310,6 +1319,14 @@
.hash-truncated {
display: inline;
}
.npub-full {
display: none;
}
.npub-truncated {
display: inline;
}
}
@media (max-width: 600px) {

View File

@@ -1 +1 @@
v0.37.0
v0.37.2