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
pubkey={pubkey}
name={
profile?.display_name || profile?.name || shorten(hexToNpub(pubkey))
profile?.display_name ||
profile?.name ||
shorten(hexToNpub(pubkey), 5)
}
image={profile?.picture}
/>

View File

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