Open one of the publicly available styles to start from.
diff --git a/src/styles/_mixins.scss b/src/styles/_mixins.scss
index 4ea6832..387b3e9 100644
--- a/src/styles/_mixins.scss
+++ b/src/styles/_mixins.scss
@@ -12,3 +12,10 @@
@include vendor-prefix(flex-direction, row);
}
+
+@mixin flex-column {
+ display: flex;
+ display: -ms-flexbox;
+
+ @include vendor-prefix(flex-direction, column);
+}
diff --git a/src/styles/_modal.scss b/src/styles/_modal.scss
index 24f042b..f1f1b6d 100644
--- a/src/styles/_modal.scss
+++ b/src/styles/_modal.scss
@@ -10,12 +10,15 @@
.maputnik-modal-section {
padding-top: $margin-3;
padding-bottom: $margin-3;
- display: flex;
+ @include flex-column;
flex-direction: column;
+ flex-shrink: 0;
+ /* Bug fix: