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

Merge pull request #20601 from overleaf/jel-cms-max-width

[web] Use `.container` `max-width` from Bootstrap 5 for CMS sections

GitOrigin-RevId: 1642de2024723584be7c7ad84d7cda0ee4af05a6
Jessica Lawshe 2 лет назад
Родитель
Сommit
518647c13d

+ 2 - 1
services/web/frontend/stylesheets/bootstrap-5/pages/cms.scss

@@ -52,8 +52,9 @@
   }
 
   .section-row {
+    @extend .container;
+
     margin: 0 auto;
-    max-width: 1440px;
   }
 
   padding-bottom: 0;

+ 1 - 1
services/web/frontend/stylesheets/bootstrap-5/pages/content.scss

@@ -80,7 +80,7 @@
     // }
 
     .section-row {
-      max-width: 1440px;
+      @extend .container;
     }
   }