Skip to content

Commit

Permalink
small style changes on the new picker
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed Jul 24, 2024
1 parent 9232451 commit bd1f4b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/custom-lists/ui/CollectionPicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -680,13 +680,11 @@ class SpacePicker extends StatefulUIElement<
? 'Show Sub-Spaces'
: 'Add Subspace'
}
placement="right"
placement="bottom"
getPortalRoot={
this.props.getRootElement
}
hideTooltip={
baseEntry.pathUnifiedIds.length > 0
}
hideTooltip={hasChildren}
>
<Icon
icon={
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ListTreeToggleArrow extends React.Component<Props> {
? 'Hide Sub-Spaces'
: 'Show Sub-Spaces'
}
placement="right"
placement="bottom"
targetElementRef={this.toggleBtnRef.current}
getPortalRoot={this.props.getRootElement}
hideTooltip={treeState.hasChildren}
Expand Down

0 comments on commit bd1f4b1

Please sign in to comment.