From 47d55dcaf8b776fa2ba4272e1ae8fa2e5ef87ee4 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 16 Jul 2025 11:31:49 -0400 Subject: fixed disappearing images caused by having no height when default image was an alternate. fixed columnDragger for masonry view to always display to avoid flicker artifacts. --- src/client/views/collections/CollectionStackingView.scss | 2 +- src/client/views/collections/CollectionStackingView.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionStackingView.scss b/src/client/views/collections/CollectionStackingView.scss index 2cf361847..ec81eb305 100644 --- a/src/client/views/collections/CollectionStackingView.scss +++ b/src/client/views/collections/CollectionStackingView.scss @@ -18,7 +18,7 @@ .collectionStackingView-columnDragger { width: 28px; height: 28px; - position: relative; + position: absolute; margin-left: -5px; z-index: 10; > svg { diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index fbdd23315..7ff90ee53 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -417,8 +417,8 @@ export class CollectionStackingView extends CollectionSubView - + style={{ cursor: this._cursor, color: SettingsManager.userColor, left: `${NumCast(this.Document._layout_columnWidth)}px` }}> + ); } @@ -563,7 +563,7 @@ export class CollectionStackingView extends CollectionSubView (!this.isStackingView ? 1 : Math.max(1, Math.min(docList.length, Math.floor((this._props.PanelWidth() - 2 * this.xMargin) / (this.columnWidth + this.gridGap))))); return (
- {this._props.isContentActive() && !this.isStackingView && !this.chromeHidden ? this.columnDragger : null} + {!this.isStackingView && !this.chromeHidden ? this.columnDragger : null}