Style 'load more alerts' button and accompanying empty state

pull/1608/head
Alex P 2017-06-14 16:48:00 -07:00
parent 2c5e7ef0d6
commit ceaa375b8c
1 changed files with 4 additions and 3 deletions

View File

@ -183,13 +183,14 @@ class AlertsTable extends Component {
{this.renderTable()}
{limit && alertsCount
? <button
className="btn btn-xs btn-primary"
className="btn btn-sm btn-default btn-block"
onClick={onGetMoreAlerts}
disabled={isAlertsMaxedOut}
style={{marginBottom: '20px'}}
>
{isAlertsMaxedOut
? `All ${alertsCount} alerts displayed`
: 'Get More'}
? `All ${alertsCount} Alerts displayed`
: 'Load next 30 Alerts'}
</button>
: null}
</div>