diff options
| author | Richard Sassine <richardsassine@tutanota.com> | 2021-05-04 18:00:38 +0300 |
|---|---|---|
| committer | Richard Sassine <richardsassine@tutanota.com> | 2021-05-04 18:00:38 +0300 |
| commit | ad97722b1b35aff50d0adf13a19715f7b8373c07 (patch) | |
| tree | edf36f1114b896a01602e31dafd74efe45736427 /theme_common/static/src/old_snippets/s_clonable_boxes | |
initial commit
Diffstat (limited to 'theme_common/static/src/old_snippets/s_clonable_boxes')
| -rw-r--r-- | theme_common/static/src/old_snippets/s_clonable_boxes/000.scss | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/theme_common/static/src/old_snippets/s_clonable_boxes/000.scss b/theme_common/static/src/old_snippets/s_clonable_boxes/000.scss new file mode 100644 index 0000000..b1dbcaf --- /dev/null +++ b/theme_common/static/src/old_snippets/s_clonable_boxes/000.scss @@ -0,0 +1,34 @@ + +#wrapwrap .s_clonable_boxes { + width: 100%; + height: auto!important; // Force height to avoid overlaps + + .row { + display: flex; + flex-flow: row wrap; + + > div { + display: flex; + flex-flow: column wrap; + justify-content: center; + text-align: center; + padding-top: $grid-gutter-width/2; + padding-bottom: $grid-gutter-width/2; + + @include media-breakpoint-down(md) { + width: 100%; + } + } + } +} + +html[data-no-flex] .s_clonable_boxes { + width: 100%; + overflow: hidden; + + .item { + height: 200px; + overflow: hidden; + text-align: center; + } +} |
