Просмотр исходного кода

style: fixed side contents when screen size is sm

yukendev 2 лет назад
Родитель
Сommit
ec5d8a50c4
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      apps/app/src/components/Common/PageViewLayout.module.scss

+ 5 - 0
apps/app/src/components/Common/PageViewLayout.module.scss

@@ -45,6 +45,11 @@ $page-view-layout-margin-top: 32px;
       min-width: 250px;
       margin-left: 30px;
     }
+
+    @include bs.media-breakpoint-down(sm) {
+      position: fixed;
+      right: 1rem;
+    }
   }
 }