Shared: selectors/Files: Fixed styles because of an aside header component.
This commit is contained in:
parent
646fcb815b
commit
93b59b5b98
@ -476,7 +476,10 @@ const FilesSelectorComponent = ({
|
||||
]);
|
||||
|
||||
const headerProps: TSelectorHeader = withHeader
|
||||
? { withHeader, headerProps: { headerLabel } }
|
||||
? {
|
||||
withHeader,
|
||||
headerProps: { headerLabel, onCloseClick: onCancel },
|
||||
}
|
||||
: {};
|
||||
|
||||
const withSearch = withSearchProp
|
||||
@ -617,6 +620,7 @@ const FilesSelectorComponent = ({
|
||||
withoutBodyScroll
|
||||
zIndex={310}
|
||||
onClose={onCancel}
|
||||
withoutHeader
|
||||
>
|
||||
{SelectorBody}
|
||||
</Aside>
|
||||
|
Loading…
Reference in New Issue
Block a user