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
I2P
OS
Self-contained networks
Social media
Tor
WIP
XMPP
[m]
approved
dependencies
duplicate
feedback wanted
high priority
iOS
low priority
stale
streaming
todo
wontfix
₿ cryptocurrency
ℹ️ help wanted
↔️ file sharing
⚙️ web extensions
✨ enhancement
❌ software removal
🆕 software suggestion
🆘 critical
🇦🇶 translations
🌐 Social News Aggregators
🌐 hosting
🌐 website issue
🏠 housekeeping
🐛 bug
👁️ browsers
👥 team chat
💢 conflicting
💬 discussion
💻 hardware
📁 file storage
📝 correction
📧 email
🔎 research required
🔐 password managers
🔒 VPN
🔒 file encryption
🖊️ digital notebooks
🗄️ DNS
🗨️ instant messaging (im)
🚫 Windows
🤖 Android
🦊 Firefox
🧰 productivity tools
The Invisible Internet Project (I2P)
Operating Systems
Anything covering the Tor network
active work in progress, do not merge or PR (yet)!
Extensible Messaging and Presence Protocol
Matrix protocol
approved, waiting for a PR
Pull requests that update a dependency file
A label for stalebot if it gets added
Anything related to media streaming.
Issues or bugs that will not be fixed and/or do not have significant impact on the project.
Browser Extension related issues
Anything covering a translated version of the site
*Technical* issues with the website.
Anything primarily related to site cleanup.
Correction of content on the website
Virtual Private Network
Domain Name System
Firefox & forks, about:config etc.
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.