yusuketk 6 år sedan
förälder
incheckning
c247db243f
1 ändrade filer med 9 tillägg och 3 borttagningar
  1. 9 3
      src/client/styles/scss/_create-page.scss

+ 9 - 3
src/client/styles/scss/_create-page.scss

@@ -1,11 +1,17 @@
 .modal.create-page {
 .modal.create-page {
   // more than tablet size
   // more than tablet size
-  @include media-breakpoint-up(sm) {
+  @include media-breakpoint-down(sm) {
     .modal-dialog {
     .modal-dialog {
-      width: 750px;
+      max-width: 100%;
+      margin: 10px;
     }
     }
   }
   }
 
 
+  .modal-dialog {
+    max-width: 750px;
+    box-sizing: border-box;
+  }
+
   .modal-body {
   .modal-body {
     //TODO remove legend
     //TODO remove legend
     legend {
     legend {
@@ -27,7 +33,7 @@
         }
         }
 
 
         // change layout by screen size
         // change layout by screen size
-        @include media-breakpoint-down(xs) {
+        @include media-breakpoint-down(sm) {
           flex-direction: column;
           flex-direction: column;
           .create-page-button-container {
           .create-page-button-container {
             margin-top: 10px;
             margin-top: 10px;