1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Fixes left margin on notifications tab

This commit is contained in:
mabashian 2019-02-20 14:52:11 -05:00
parent 87d9df5876
commit e28776962d
2 changed files with 4 additions and 2 deletions

View File

@ -113,7 +113,8 @@ class DataListToolbar extends React.Component {
addUrl, addUrl,
showExpandCollapse, showExpandCollapse,
showDelete, showDelete,
showSelectAll showSelectAll,
isLookup
} = this.props; } = this.props;
const { const {
isSearchDropdownOpen, isSearchDropdownOpen,
@ -155,7 +156,7 @@ class DataListToolbar extends React.Component {
<div className="awx-toolbar"> <div className="awx-toolbar">
<Level> <Level>
<LevelItem style={{ display: 'flex', flexBasis: '700px' }}> <LevelItem style={{ display: 'flex', flexBasis: '700px' }}>
<Toolbar style={{ marginLeft: showSelectAll ? '20px' : '0px', flexGrow: '1' }}> <Toolbar style={{ marginLeft: isLookup ? '0px' : '20px', flexGrow: '1' }}>
{ showSelectAll && ( { showSelectAll && (
<ToolbarGroup> <ToolbarGroup>
<ToolbarItem> <ToolbarItem>

View File

@ -195,6 +195,7 @@ class Lookup extends React.Component {
columns={columns} columns={columns}
onSearch={this.onSearch} onSearch={this.onSearch}
onSort={this.onSort} onSort={this.onSort}
isLookup
/> />
<ul className="pf-c-data-list awx-c-list"> <ul className="pf-c-data-list awx-c-list">
{results.map(i => ( {results.map(i => (