Conditionally add top padding to Android addons icons #1129
No reviewers
Labels
No Label
🔍🤖 Search Engines
approved
dependencies
duplicate
feedback wanted
high priority
I2P
iOS
low priority
OS
Self-contained networks
Social media
stale
streaming
todo
Tor
WIP
wontfix
XMPP
[m]
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
💬 discussion
🤖 Android
🐛 bug
💢 conflicting
📝 correction
🆘 critical
📧 email
🔒 file encryption
📁 file storage
🦊 Firefox
💻 hardware
🌐 hosting
🏠 housekeeping
🔐 password managers
🧰 productivity tools
🔎 research required
🌐 Social News Aggregators
🆕 software suggestion
👥 team chat
🔒 VPN
🌐 website issue
🚫 Windows
👁️ browsers
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🇦🇶 translations
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#1129
Loading…
Reference in New Issue
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.