Browse Source

use margin for md

reiji-h 2 years ago
parent
commit
b09cb84c67

+ 4 - 4
apps/app/src/components/Common/PagePathNav/PagePathNav.module.scss

@@ -26,11 +26,11 @@
   }
   // avoid sticky-top nav to turnate page path
   .is-collapse-with-top {
-    @include bs.media-breakpoint-up(md) {
-      max-width: calc(80% - (500px - (100vw - 100%) / 2));
-    }
     @include bs.media-breakpoint-down(md) {
-      max-width: calc(100% - 135px);
+      max-width: calc(100% - 350px);
+    }
+    @include bs.media-breakpoint-up(md) {
+      max-width: calc(100% - 500px);
     }
   }
 }