aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.scss
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-08-15 16:31:48 -0400
committermonikahedman <monika_hedman@brown.edu>2019-08-15 16:31:48 -0400
commit753c61c852aa17e6125f568fe0db394328765c7f (patch)
tree918d27dbfe9248c547a7796dc7142993f7cbb48a /src/client/views/collections/CollectionStackingView.scss
parentb9f0c3d05eab364911007beb3c85d6d942097dab (diff)
parent13a377a36b0d93f931f57a6417fe920419a56026 (diff)
pulled from master
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.scss')
-rw-r--r--src/client/views/collections/CollectionStackingView.scss26
1 files changed, 21 insertions, 5 deletions
diff --git a/src/client/views/collections/CollectionStackingView.scss b/src/client/views/collections/CollectionStackingView.scss
index 271ad2d58..01d4ea2b6 100644
--- a/src/client/views/collections/CollectionStackingView.scss
+++ b/src/client/views/collections/CollectionStackingView.scss
@@ -1,10 +1,15 @@
@import "../globalCssVariables";
-.collectionStackingView {
+.collectionMasonryView {
+ display:inline;
+}
+.collectionStackingView{
+ display: flex;
+}
+.collectionStackingView, .collectionMasonryView{
height: 100%;
width: 100%;
position: absolute;
- display: flex;
top: 0;
overflow-y: auto;
flex-wrap: wrap;
@@ -31,14 +36,20 @@
.collectionStackingView-masonrySingle,
.collectionStackingView-masonryGrid {
width: 100%;
- height: 100%;
- position: absolute;
display: grid;
top: 0;
left: 0;
- width: 100%;
+ }
+ .collectionStackingView-masonrySingle {
+ height: 100%;
position: absolute;
}
+ .collectionStackingView-masonryGrid {
+ margin: auto;
+ height: max-content;
+ position: relative;
+ grid-auto-rows: 0px;
+ }
.collectionStackingView-masonrySingle {
width: 100%;
@@ -80,12 +91,17 @@
height: 100%;
margin: auto;
}
+
+ .collectionStackingView-masonrySection {
+ margin: auto;
+ }
.collectionStackingView-sectionHeader {
text-align: center;
margin-left: 2px;
margin-right: 2px;
margin-top: 10px;
+ background: gray;
// overflow: hidden; overflow is visible so the color menu isn't hidden -ftong
.editableView-input {