Skip to content

Commit

Permalink
fix: output amount CSS on mobile (nova) (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
brancoder authored May 15, 2024
1 parent 52a0488 commit 11bf3d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions client/src/app/components/nova/OutputView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
height: auto;
}

@include phone-down {
flex-wrap: wrap;
}

.output-header {
display: flex;
width: 100%;
Expand Down Expand Up @@ -62,6 +66,9 @@
}
}

.row.middle {
margin: 5px 10px;
}
.amount-size {
width: min-content;
text-align: end;
Expand Down
14 changes: 7 additions & 7 deletions client/src/app/components/nova/OutputView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ const OutputView: React.FC<OutputViewProps> = ({ outputId, output, showCopyAmoun

const header = (
<div onClick={() => setIsExpanded(!isExpanded)} className="card--value card-header--wrapper">
<div
className={classNames("card--content--dropdown", {
opened: isExpanded,
})}
>
<DropdownIcon />
</div>
<div className="output-header">
<div
className={classNames("card--content--dropdown", {
opened: isExpanded,
})}
>
<DropdownIcon />
</div>
<button type="button" className="output-type--name color">
{NameHelper.getOutputTypeName(output.type)}
</button>
Expand Down

0 comments on commit 11bf3d9

Please sign in to comment.