Fix npub breaking layout

This commit is contained in:
Bojan Mojsilovic 2024-03-26 12:55:13 +01:00
parent d1d33ff471
commit 0f6afbc8ac
2 changed files with 13 additions and 1 deletions

View File

@ -92,6 +92,12 @@
.label { .label {
color: var(--text-primary); color: var(--text-primary);
} }
a {
max-width: 440px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.author { .author {
display: inline-block; display: inline-block;
color: var(--accent-links); color: var(--accent-links);

View File

@ -145,7 +145,7 @@
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 14px; line-height: 14px;
width: min(560px, 100%); max-width: 460px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -269,4 +269,10 @@
display: none; display: none;
} }
} }
.zapInfo {
max-width: 86%;
}
.zapMessage {
max-width: 80% !important;
}
} }