tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

min-h-screen doesn't work with grid?? #457

Open brianliddell opened 4 years ago

brianliddell commented 4 years ago

I’m playing with Tailwind's grid for the first time, and loving it! Super quick to change gaps and no more messing with negative margins!

Minor problem: I can't get min-h-screen (applied to main content to push the footer to the bottom of the screen) to work with a grid layout. Is this a limitation of css grid, or is there yet another thing I’m missing?

adamwathan commented 4 years ago

Mind throwing together a JSFiddle or Codepen demo so I can see what you mean for sure? I think it's probably a limitation of what CSS grid features we support out of the box in Tailwind.

brianliddell commented 4 years ago

Hi Adam:

I’m super impressed at your fast response.

I’ve set up a Codepen demo https://codepen.io/brianliddell/full/XWbdOqQ https://codepen.io/brianliddell/full/XWbdOqQ , and that works fine!

So it’s back to me to work through what I’ve done differently.

I’ll come back to you again if I’m still stuck.

Thanks for your help.

Brian Liddell

On 17 Feb 2020, at 14:21, Adam Wathan notifications@github.com wrote:

Mind throwing together a JSFiddle or Codepen demo so I can see what you mean for sure? I think it's probably a limitation of what CSS grid features we support out of the box in Tailwind.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tailwindcss/discuss/issues/457?email_source=notifications&email_token=AD73FKBDAH2T4UWWTL42EK3RDKFPDA5CNFSM4KWRPT2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL6MK5Y#issuecomment-586990967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD73FKHC5TCEUKMD22OCKS3RDKFPDANCNFSM4KWRPT2A.