Closed TomJGooding closed 4 months ago
I couldn't accept a solution that always added that extra space. One of the main motivations around the Footer redesign was to be more compact.
How about the key component class takes the padding from the Style? That would make it customizable.
@willmcgugan No problem, to be honest I expected you would say that!
How about the key component class takes the padding from the Style? That would make it customizable.
Sorry perhaps I'm missing something obvious, but I don't understand how this might be implemented?
The component style could have padding, which you could look up like this:
self.get_component_style("footer-key--key").padding
The user could then add the space with something like this:
Footer>footer-key--key {
padding-right: 1;
}
Fixes #4557.
I figured this was a simple enough change to just make a PR and see this change was acceptable.
Here's some quick before and after screenshots. I purposely chose the ugliest example with the default footer styling, but for the most part an extra space isn't really too noticeable.
Please review the following checklist.