-
-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FixedSizeList padding #74
Comments
No, padding like that isn't really supported within the list. If you want padding around the list, put the list inside of a padded container. 😊 This helps keeps the positioning logic inside of the list as simple as it can be. |
Ah ok, I wanted the padding inside the list like this https://jsfiddle.net/9wpd58mx/6/, I could just do it with a VariableSizeList. |
Oh, thanks for clarifying. I misunderstood! 😄 Yup, the easiest way to do that would be by adding in "padding" rows– one to the beginning and one to the end of your list. |
This can be fixed by adding |
Just subtract a given
|
Is there a way to have padding at the top and bottom of a list? If I do
10px 0
on the outer div I get20px
of padding at the bottom, I can make it look proper by adding a10px
top margin to the list items but that just shifts the windowing off-center.The text was updated successfully, but these errors were encountered: