File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @obosbbl/grunnmuren-tailwind ' : patch
3
+ ---
4
+
5
+ Add back missing ` .page-layout ` and ` .page-layout-main ` classes that were removed by mistake in v2.
6
+ This should fix layouts where the main page content isn't tall enough to push the footer down to the bottom
7
+ of the screen.
8
+
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ module.exports = (options = {}) => {
161
161
...v1CompatibilityPlugins ,
162
162
require ( '@tailwindcss/typography' ) ,
163
163
require ( 'tailwindcss-animate' ) ,
164
- plugin ( function ( { addBase, addComponents } ) {
164
+ plugin ( function ( { addBase, addComponents, theme } ) {
165
165
addBase ( {
166
166
html : {
167
167
'@apply text-black antialiased font-normal font-text' : { } ,
@@ -179,6 +179,15 @@ module.exports = (options = {}) => {
179
179
} ) ;
180
180
181
181
addComponents ( {
182
+ '.page-layout' : {
183
+ display : 'flex' ,
184
+ flexDirection : 'column' ,
185
+ minHeight : '100vh' ,
186
+ } ,
187
+ '.page-layout-main' : {
188
+ backgroundColor : theme ( 'colors.white' ) ,
189
+ flexGrow : '1' ,
190
+ } ,
182
191
'.container' : {
183
192
width : '100%' ,
184
193
paddingLeft : '1rem' ,
You can’t perform that action at this time.
0 commit comments