|
|
@@ -251,17 +251,19 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
|
|
|
ref={(c) => { drag(c); drop(c) }}
|
|
|
className={`list-group-item list-group-item-action border-0 py-1 d-flex align-items-center ${page.isTarget ? 'grw-pagetree-is-target' : ''}`}
|
|
|
>
|
|
|
- {hasDescendants && (
|
|
|
- <button
|
|
|
- type="button"
|
|
|
- className={`grw-pagetree-button btn ${isOpen ? 'grw-pagetree-open' : ''}`}
|
|
|
- onClick={onClickLoadChildren}
|
|
|
- >
|
|
|
- <div className="grw-triangle-icon">
|
|
|
- <TriangleIcon />
|
|
|
- </div>
|
|
|
- </button>
|
|
|
- )}
|
|
|
+ <div className="grw-triangle-container">
|
|
|
+ {hasDescendants && (
|
|
|
+ <button
|
|
|
+ type="button"
|
|
|
+ className={`grw-pagetree-button btn ${isOpen ? 'grw-pagetree-open' : ''}`}
|
|
|
+ onClick={onClickLoadChildren}
|
|
|
+ >
|
|
|
+ <div className="grw-triangle-icon">
|
|
|
+ <TriangleIcon />
|
|
|
+ </div>
|
|
|
+ </button>
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
{ isRenameInputShown && (
|
|
|
<ClosableTextInput
|
|
|
isShown
|