|
|
@@ -47,7 +47,10 @@ const SimpleItemContent = ({ page }: { page: IPageForItem }) => {
|
|
|
const shouldShowAttentionIcon = page.processData != null ? shouldRecoverPagePaths(page.processData) : false;
|
|
|
|
|
|
return (
|
|
|
- <div className="flex-grow-1 d-flex align-items-center pe-none">
|
|
|
+ <div
|
|
|
+ className="flex-grow-1 d-flex align-items-center pe-none"
|
|
|
+ style={{ minWidth: 0 }}
|
|
|
+ >
|
|
|
{shouldShowAttentionIcon && (
|
|
|
<>
|
|
|
<i id="path-recovery" className="fa fa-warning mr-2 text-warning"></i>
|
|
|
@@ -59,9 +62,9 @@ const SimpleItemContent = ({ page }: { page: IPageForItem }) => {
|
|
|
{page != null && page.path != null && page._id != null && (
|
|
|
<div className="grw-pagetree-title-anchor flex-grow-1">
|
|
|
<div className="d-flex align-items-center">
|
|
|
- <span className={`text-truncate ${page.isEmpty && 'grw-sidebar-text-muted'}`}>{pageName}</span>
|
|
|
+ <span className={`text-truncate me-1 ${page.isEmpty && 'grw-sidebar-text-muted'}`}>{pageName}</span>
|
|
|
{ page.wip && (
|
|
|
- <span className="wip-page-badge badge rounded-pill text-bg-secondary ms-2">WIP</span>
|
|
|
+ <span className="wip-page-badge badge rounded-pill me-1 text-bg-secondary">WIP</span>
|
|
|
)}
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -206,7 +209,7 @@ export const SimpleItem: FC<SimpleItemProps> = (props) => {
|
|
|
{hasDescendants && (
|
|
|
<button
|
|
|
type="button"
|
|
|
- className={`grw-pagetree-triangle-btn btn ${isOpen ? 'grw-pagetree-open' : ''}`}
|
|
|
+ className={`grw-pagetree-triangle-btn btn p-0 ${isOpen ? 'grw-pagetree-open' : ''}`}
|
|
|
onClick={onClickLoadChildren}
|
|
|
>
|
|
|
<div className="d-flex justify-content-center">
|