Closed tgallacher closed 2 years ago
cc @thomasloven 🙏
Hi,
How can I set this mannualy please ?
Hi,
How can I set this mannualy please ?
@Drealine Not sure of your dev background, so I'll just keep it high level at first -
To get this version manually, you would have to:
Let me know if you need more details on how this would actually look.
Hi. This is a great idea, and I really like it. I just implemented some other functionality that lets this be done in a different way, and for the grid-based layouts too, though, so I'll rewrite your solution into that. Hope you don't mind.
It will be in the next release.
Thanks a lot, @tgallacher!
Ok but what can I do that now ? Readme not give an example!
Please reopen the PR, I can't find a solution to container height. @tgallacher
What
Add support to the
layout
key for specifying the CSSheight
property of the root container,<grid-layout>
custom component.Users can now do something like:
Why?
I am trying to make a layout where a "footer" is permanently fixed at the bottom of the screen, regardless of how much content is in the content area. The simplest way to achieve this is by ensuring the base container -- the custom HTML element -- takes the full height of the panel.
But, as this component doesn't expose this -- or a similar styling option -- and isn't compatible with the card_mod custom component, then we need to expose this directly.
Example of layout with the above change:
Notes
div
,section
,main
, etc.