Skip to content
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

[Bug] Mobile Layout Issue: ‘Share Your Work’ Box Misalignment on Mobile Devices Above 375px #540

Open
1 task
Mariam-Senzia opened this issue Oct 2, 2024 · 3 comments · May be fixed by #541
Open
1 task
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟧 priority: high Stalls work on the project or its dependents 🏁 status: ready for work Ready for work

Comments

@Mariam-Senzia
Copy link

Mariam-Senzia commented Oct 2, 2024

Description

On mobile devices with a screen width above 375px, the 'Share Your Work' box does not extend to the right edge of the screen. On smaller devices, the box spans the full width as expected.

Reproduction

  1. Open the app on a mobile device with a screen width above 375px.
  2. Navigate to the menu and click on 'Licenses and Tools'.
  3. Observe the 'Share Your Work' box on the page.
  4. See error where the box does not extend to the right edge of the screen.

Expectation

The 'Share Your Work' box should extend to the right edge of the screen on all mobile devices, including those with screen widths greater than 375px.

Screenshots

Screenshot from 2024-10-02 12-28-39

Environment

 - Device: Mobile simulator(iPhone 13)
 - OS: iOS 15
 - Browser: Chrome (version 117.0.5938.9 on laptop)

Resolution

  • I would be interested in resolving this bug.
@Mariam-Senzia Mariam-Senzia added 💻 aspect: code Concerns the software code in the repository 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🛠 goal: fix Bug fix 🟧 priority: high Stalls work on the project or its dependents labels Oct 2, 2024
@possumbilities possumbilities added 🏁 status: ready for work Ready for work and removed 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work labels Oct 2, 2024
@possumbilities possumbilities moved this from Triage to Backlog in possumbilities Oct 2, 2024
@ObuliAbraham
Copy link

assign me for this issue

ObuliAbraham added a commit to ObuliAbraham/chooser-abraham that referenced this issue Oct 3, 2024
This CSS snippet addresses mobile responsiveness for screens up to 768px wide, with special attention to devices just above 375px. It reorganizes the footer into a single-column layout on smaller screens, stacking elements vertically with adequate spacing. The subscribe form and donate button are adjusted for full-width display, improving touch interaction. For slightly larger mobile devices (376px to 768px), the code implements a two-column grid for the footer menu and sets a maximum width for the main container, preventing content from stretching too wide. These changes aim to create a more user-friendly layout on various mobile devices, ensuring better alignment and readability of content. The adjustments include careful padding, margin, and width modifications to maintain visual consistency across different screen sizes while optimizing the use of available space.
@adizh
Copy link

adizh commented Jan 13, 2025

could you please assign this issue to me?

@ShreyPurohit
Copy link

Proposal for Fixing the Responsiveness Issue on Mobile Devices

Description of the Issue

The 'Share Your Work' box on the 'Licenses and Tools' page does not extend to the right edge of the screen on mobile devices with a width greater than 375px. While it spans the full width on smaller devices, this inconsistency creates a poor user experience on larger mobile screens.


Proposed Solution

To resolve this issue, I propose implementing a mobile-first CSS approach to ensure consistent responsiveness across all screen sizes. Here’s how we can achieve this:

Steps to Fix the Issue

  1. Analyze the Existing CSS Rules:

    • Identify any fixed-width, padding, or margin rules that might prevent the box from extending fully.
    • Check for container constraints, such as max-width or improper viewport usage.
  2. Implement a Mobile-First CSS Approach:

    • Begin styling for smaller devices (e.g., 320px width) and progressively enhance the design for larger screens.
    • Use percentage-based widths (width: 100%) and relative units like em, rem, or vw instead of fixed pixel values.
  3. Test Across Devices:

    • Test the responsiveness on devices with varying screen sizes (e.g., iPhone 13, iPhone SE) and orientations (portrait/landscape).
    • Validate in mobile simulators for different browsers (e.g., Chrome, Safari).

Benefits of Mobile-First CSS

  • Improved Responsiveness: The box will adapt dynamically to any screen size, ensuring a seamless experience across all mobile devices.
  • Future-Proof Design: Following a mobile-first approach ensures the design scales well for larger screens.
  • Better Performance: By focusing on smaller devices first, we reduce unnecessary styling for devices with limited resources.
  • Accessibility: Ensures a consistent and user-friendly experience, especially for touch-based navigation.

Request

I would love to work on resolving this issue by implementing a mobile-first CSS strategy, ensuring the 'Share Your Work' box spans the full width on all devices. Please assign this issue to me, and I’ll ensure the fix meets the project’s design and coding standards.

Thank you for considering my proposal!
@Mariam-Senzia @possumbilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟧 priority: high Stalls work on the project or its dependents 🏁 status: ready for work Ready for work
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

5 participants