瀏覽代碼

style: fixed side contents when screen size is sm

yukendev 2 年之前
父節點
當前提交
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;
+    }
   }
 }