discuss icon indicating copy to clipboard operation
discuss copied to clipboard

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

Open brianliddell opened this issue 5 years ago • 2 comments

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?

brianliddell avatar Feb 17 '20 13:02 brianliddell

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.

adamwathan avatar Feb 17 '20 13:02 adamwathan

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 [email protected] 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.

brianliddell avatar Feb 17 '20 14:02 brianliddell