Conditionally add top padding to Android addons icons #1129
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "pad-top-android-addon-icons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR hopefully increases the UX on the Android Addons page by adding 50 pixels of top padding to the icons conditionally (using a media query) on the "large" Bootstrap layout until the layout collapses for smaller screens.
Before
After
Not modified (small screen layout)
Check List
I have read and understand CONTRIBUTING.md.
[ ] I have listed the source code for this project in source_code.md.[ ] This project is free/libre software.[ ] This project has an associated discussion.Code Repository (if applicable): N/A
Deploy preview for privacytools-io ready!
Built with commit
f5902f9993
https://deploy-preview-1129--privacytools-io.netlify.com
Why are you making your own CSS class? No need for that, you can use utility classes from Bootstrap, like,
pt-lg-5
.EDIT: Btw cleaner solution would be using flexbox instead of XYZ padding.
Oh TIL! I'm not really familiar with Bootstrap or flexbox but will look into that instead.
[edit] Updated to use
pt-lg-5
! Wow, that works great 👀seems good for merching.