Improve Blossom UI responsiveness and layout (v0.37.2)
Some checks failed
Go / build-and-release (push) Has been cancelled
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>
This commit is contained in:
2
app/web/dist/bundle.css
vendored
2
app/web/dist/bundle.css
vendored
File diff suppressed because one or more lines are too long
18
app/web/dist/bundle.js
vendored
18
app/web/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
2
app/web/dist/bundle.js.map
vendored
2
app/web/dist/bundle.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -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">
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user