fix: styles fixed in homepage

This commit is contained in:
SwiftHawk 2024-07-08 16:49:48 +05:00
parent 8167c5d05f
commit 6553ed89e0
2 changed files with 6 additions and 2 deletions

View File

@ -374,7 +374,9 @@ const DisplaySigner = ({ meta, profile, pubkey }: DisplaySignerProps) => {
<UserComponent <UserComponent
pubkey={pubkey} pubkey={pubkey}
name={ name={
profile?.display_name || profile?.name || shorten(hexToNpub(pubkey)) profile?.display_name ||
profile?.name ||
shorten(hexToNpub(pubkey), 5)
} }
image={profile?.picture} image={profile?.picture}
/> />

View File

@ -35,8 +35,10 @@
.titleBox { .titleBox {
display: flex; display: flex;
flex: 4;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow-wrap: anywhere;
gap: 10px; gap: 10px;
padding: 10px; padding: 10px;
background-color: #cdc8c499; background-color: #cdc8c499;
@ -70,7 +72,7 @@
.signers { .signers {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; flex: 6;
justify-content: center; justify-content: center;
gap: 10px; gap: 10px;
padding: 10px; padding: 10px;