Skip to content

Commit

Permalink
Update AliasesList responsive styles
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyTripleA committed Dec 11, 2024
1 parent 88c8d7e commit 991d0c3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ function AliasesList ({ aliases = [], smallCount = 5 }) {

return (
<div className={'AliasesList'}>
<SmoothSize>
<SmoothSize className={'AliasesList__SmoothSize'}>
<div className={'AliasesList__ItemsContainer'}>
{filteredArray?.map((alias, i) => (
<div className={'AliasesList__Item'} key={i}>
<Alias status={alias.status} key={i}>{alias.alias}</Alias>
<Alias status={alias.status} ellipsis={false} key={i}>{alias.alias}</Alias>
<DateBlock timestamp={1233123333332} format={'deltaOnly'}/>
</div>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
align-items: center;
gap: 0.5rem;
justify-content: flex-end;
max-width: 100%;
}

&__ShowMoreButton {
Expand All @@ -25,4 +26,8 @@
transition: .2s;
}
}

&__SmoothSize {
max-width: 100%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
&__InfoLine {
&--Names {
align-items: baseline;
flex-wrap: wrap;

.InfoLine__Value {
margin-left: auto;
max-width: 100%;
}
}
}

Expand Down

0 comments on commit 991d0c3

Please sign in to comment.