mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
add bottom border to tabs
This commit is contained in:
parent
fed24ed6df
commit
a3fdb4aee3
20
src/app.scss
20
src/app.scss
@ -317,6 +317,24 @@
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.orgTabsContainer{
|
||||
display: flex
|
||||
}
|
||||
|
||||
.orgTabsSection{
|
||||
flex-grow: 1;
|
||||
border-bottom: 1px solid #d2d2d2
|
||||
}
|
||||
|
||||
.OrgsTab-closeButton {
|
||||
color: black;
|
||||
float: right;
|
||||
position: relative;
|
||||
top: 10px;
|
||||
margin: 0 10px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.awx-c-form-action-group {
|
||||
float: right;
|
||||
display: block;
|
||||
@ -398,3 +416,5 @@
|
||||
.pf-m-error p.pf-c-form__helper-text {
|
||||
color: var(--pf-global--danger-color--100);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -112,8 +112,10 @@ class Organization extends Component {
|
||||
isAdminOfThisOrg
|
||||
} = this.state;
|
||||
|
||||
const tabsPaddingOverride = {
|
||||
padding: '0',
|
||||
const tabsStyle = {
|
||||
paddingTop: '0px',
|
||||
paddingLeft: '0px',
|
||||
paddingRight: '0px',
|
||||
};
|
||||
|
||||
const canSeeNotificationsTab = me.is_system_auditor || isNotifAdmin || isAuditorOfThisOrg;
|
||||
@ -141,18 +143,25 @@ class Organization extends Component {
|
||||
loading ? ''
|
||||
: (
|
||||
<CardHeader
|
||||
style={tabsPaddingOverride}
|
||||
style={tabsStyle}
|
||||
>
|
||||
<I18n>
|
||||
{({ i18n }) => (
|
||||
<React.Fragment>
|
||||
<RoutedTabs
|
||||
match={match}
|
||||
history={history}
|
||||
labeltext={i18n._(t`Organization detail tabs`)}
|
||||
tabsArray={tabsArray}
|
||||
/>
|
||||
<CardCloseButton linkTo="/organizations" />
|
||||
<div className="orgTabsContainer">
|
||||
<RoutedTabs
|
||||
className="orgTabsSection"
|
||||
match={match}
|
||||
history={history}
|
||||
labeltext={i18n._(t`Organization detail tabs`)}
|
||||
tabsArray={tabsArray}
|
||||
/>
|
||||
<div
|
||||
className="orgTabsSection"
|
||||
>
|
||||
<CardCloseButton linkTo="/organizations" />
|
||||
</div>
|
||||
</div>
|
||||
</React.Fragment>
|
||||
)}
|
||||
</I18n>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user