fix: stop status from breaking in small screens (#250)
* fix: stop status from breaking in small screens * fix: tests
This commit is contained in:
parent
051424ef3d
commit
8713d7b286
|
@ -121,3 +121,7 @@ $input-icon-height: 20px;
|
|||
.font-weight-medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
|
@ -65,7 +65,7 @@ class Trades extends Component {
|
|||
{isBuyer ? 'Buy' : 'Sell' } {formatBalance(trade.tokenAmount)} {trade.token.symbol}
|
||||
</Col>
|
||||
<Col className="align-self-center text-center text-success" xs="4">
|
||||
<span className={"p-1 text-uppercase d-inline text-white rounded-sm text-small " + tradeStyle.className}>{tradeStyle.text}</span>
|
||||
<span className={"p-1 text-uppercase d-inline text-white rounded-sm text-small nowrap " + tradeStyle.className}>{tradeStyle.text}</span>
|
||||
</Col>
|
||||
</Row>
|
||||
</Link>;
|
||||
|
|
|
@ -136,7 +136,7 @@ exports[`Trades should render correctly 1`] = `
|
|||
xs="4"
|
||||
>
|
||||
<span
|
||||
className="p-1 text-uppercase d-inline text-white rounded-sm text-small bg-secondary"
|
||||
className="p-1 text-uppercase d-inline text-white rounded-sm text-small nowrap bg-secondary"
|
||||
>
|
||||
open
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue