Skip to content

Commit

Permalink
add show less
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-luger committed Mar 7, 2024
1 parent 0b1a7c4 commit 03fc02c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/FlipTracking/FlipTrackingListItem.tsx
Expand Up @@ -140,7 +140,7 @@ export function FlipTrackingListItem(props: Props) {
<p>Profit changes:</p>
<ShowMoreText
alwaysShowAll={props.trackedFlip.propertyChanges.length < 2}
allowShowLess={false}
allowShowLess={true}
content={
<div style={{ display: 'flex', justifyContent: 'space-between' }}>
<Table>
Expand Down
2 changes: 1 addition & 1 deletion components/ShowMoreText/ShowMoreText.module.css
Expand Up @@ -24,7 +24,7 @@ display: none;
.showMoreContainer {
width: 100%;
position: absolute;
bottom: 0;
bottom: -4px;
cursor: pointer;
z-index: 2;
}
Expand Down

0 comments on commit 03fc02c

Please sign in to comment.