mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
A better fix for the tab bottom border
This commit is contained in:
@@ -19,7 +19,7 @@ const Tabs = styled(PFTabs)`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&:not(.pf-c-tabs__item)::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -30,12 +30,6 @@ const Tabs = styled(PFTabs)`
|
|||||||
border-width: var(--pf-c-tabs__item--BorderWidth) 0
|
border-width: var(--pf-c-tabs__item--BorderWidth) 0
|
||||||
var(--pf-c-tabs__item--BorderWidth) 0;
|
var(--pf-c-tabs__item--BorderWidth) 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The above pseudo element is being applied to the tab items as well
|
|
||||||
// I couldn't figure out how to only apply it to .pf-c-tabs
|
|
||||||
.pf-c-tabs__item::before {
|
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function RoutedTabs(props) {
|
function RoutedTabs(props) {
|
||||||
|
|||||||
Reference in New Issue
Block a user