DetailedStatus: fix rounded corners
This commit is contained in:
parent
b5041602e6
commit
997375a927
|
@ -548,11 +548,11 @@ class Status extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
if (ancestorsIds && ancestorsIds.size > 0) {
|
||||
ancestors = <div>{this.renderChildren(ancestorsIds)}</div>;
|
||||
ancestors = this.renderChildren(ancestorsIds);
|
||||
}
|
||||
|
||||
if (descendantsIds && descendantsIds.size > 0) {
|
||||
descendants = <div>{this.renderChildren(descendantsIds)}</div>;
|
||||
descendants = this.renderChildren(descendantsIds);
|
||||
}
|
||||
|
||||
const handlers = {
|
||||
|
@ -596,7 +596,9 @@ class Status extends ImmutablePureComponent {
|
|||
*/}
|
||||
|
||||
<div ref={this.setRef} className='detailed-status-container'>
|
||||
{ancestors}
|
||||
{ancestors && (
|
||||
<div className='detailed-status__ancestors'>{ancestors}</div>
|
||||
)}
|
||||
|
||||
<HotKeys handlers={handlers}>
|
||||
<div ref={this.setStatusRef} className={classNames('focusable', 'detailed-status__wrapper')} tabIndex='0' aria-label={textForScreenReader(intl, status, false)}>
|
||||
|
@ -638,7 +640,9 @@ class Status extends ImmutablePureComponent {
|
|||
</div>
|
||||
</HotKeys>
|
||||
|
||||
{descendants}
|
||||
{descendants && (
|
||||
<div className='detailed-status__descendants'>{descendants}</div>
|
||||
)}
|
||||
</div>
|
||||
</Column>
|
||||
);
|
||||
|
|
|
@ -160,12 +160,9 @@
|
|||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.detailed-status-container {
|
||||
> div:first-child {
|
||||
.status-container .status__wrapper,
|
||||
.detailed-status__wrapper {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
/* Connect the first status to the SubNavigation */
|
||||
.detailed-status__ancestors .status-container:first-child .status__wrapper,
|
||||
.detailed-status-container > div:first-child .detailed-status__wrapper {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue