Archived
Conditionally add top padding to Android addons icons #1129
Merged
nitrohorse
merged 3 commits from 2019-08-10 18:27:23 +00:00
pad-top-android-addon-icons into master
No Reviewers
Labels
Clear labels
:mag:🤖 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
approved, waiting for a PR
Pull requests that update a dependency file
The Invisible Internet Project (I2P)
Operating Systems
A label for stalebot if it gets added
Anything related to media streaming.
Anything covering the Tor network
active work in progress, do not merge or PR (yet)!
Issues or bugs that will not be fixed and/or do not have significant impact on the project.
Extensible Messaging and Presence Protocol
Matrix protocol
Browser Extension related issues
Correction of content on the website
Firefox & forks, about:config etc.
Anything primarily related to site cleanup.
Virtual Private Network
*Technical* issues with the website.
Domain Name System
Anything covering a translated version of the site
Milestone
No items
No Milestone
No due date set.
Dependencies
No dependencies set.
Reference: privacyguides/privacytools.io#1129
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
f5902f9993https://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.