File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
pages/layout-compositions Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 3939 </div >
4040 </header >
4141
42- <div class =" wrapper flow footer-bottom__stretch" >
42+ <div class =" content- wrapper flow footer-bottom__stretch" >
4343
4444 <div class =" sidebar" data-direction =" rtl" >
4545
5959 </div >
6060
6161 <footer class =" site-foot" >
62- <div class =" wrapper" >
62+ <div class =" content- wrapper" >
6363 <div class =" sidebar" data-direction =" rtl" >
6464 <div class =" site-foot__content" >
6565 <figure class =" site-foot__brand" >
Original file line number Diff line number Diff line change 1- /*
2- WRAPPER COMPOSITION
1+ /* CONTENT WRAPPER COMPOSITION
32A common wrapper/container. Usually used for the top-level elements on the page (children of `body`) to center them horizontally.
3+
4+ Note: This is called `.content-wrapper` only because some ad-blockers target the class `.wrapper`
45*/
5- .wrapper {
6+ .content- wrapper {
67 margin-inline : auto;
78 width : 100% ;
89 max-width : var (--wrapper-max-width , 1360px );
Original file line number Diff line number Diff line change @@ -200,5 +200,6 @@ This should be used in all contexts where the content needs to be in the center
200200### Examples
201201
202202``` html
203- <div class =" wrapper" >I am centered and have a nice, consistent gutter.</div >
203+
204+ <div class =" content-wrapper" >I am centered and have a nice, consistent gutter.</div >
204205```
Original file line number Diff line number Diff line change 11<template >
22 <footer class =" site-foot" >
3- <div class =" wrapper" >
3+ <div class =" content- wrapper" >
44 <div class =" sidebar" data-direction =" rtl" >
55 <div class =" site-foot__content" >
66 <figure class =" site-foot__brand" >
Original file line number Diff line number Diff line change 11< footer class ="site-foot ">
2- < div class ="wrapper ">
2+ < div class ="content- wrapper ">
33 < div class ="sidebar " data-direction ="rtl ">
44 < div class ="site-foot__content ">
55 < figure class ="site-foot__brand ">
You canβt perform that action at this time.
0 commit comments