aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionGrid
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-07 01:33:48 -0400
committerbobzel <zzzman@gmail.com>2020-09-07 01:33:48 -0400
commita4c5fc599bf3df8cb6b6adacd663299d9929b982 (patch)
tree855b98a5e12a86f6548958558a312c66967eed55 /src/client/views/collections/collectionGrid
parente129b8b842d2a08f3835f5b6ff5ae498a2746b18 (diff)
grid view layout fixes
Diffstat (limited to 'src/client/views/collections/collectionGrid')
-rw-r--r--src/client/views/collections/collectionGrid/CollectionGridView.scss7
-rw-r--r--src/client/views/collections/collectionGrid/CollectionGridView.tsx2
2 files changed, 1 insertions, 8 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.scss b/src/client/views/collections/collectionGrid/CollectionGridView.scss
index 60ec02f47..a6171af51 100644
--- a/src/client/views/collections/collectionGrid/CollectionGridView.scss
+++ b/src/client/views/collections/collectionGrid/CollectionGridView.scss
@@ -13,13 +13,6 @@
display: flex;
flex-direction: row;
- .imageBox-cont img {
- height: auto;
- width: auto;
- max-height: 100%;
- max-width: 100%;
- }
-
.react-grid-layout {
width: 100%;
}
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
index 4e279c659..df4d71526 100644
--- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx
+++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
@@ -175,7 +175,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) {
onClick={this.onChildClickHandler}
renderDepth={this.props.renderDepth + 1}
parentActive={this.props.active}
- display={StrCast(this.props.Document.display, "contents")} // sets the css display type of the ContentFittingDocumentView component
+ dontCenter={true}
/>;
}