Mobile Optimization #8

Merged
revengeday merged 8 commits from kaiserkiwi/cyber-circle-creator:mobile-optimization into main 2024-11-17 13:40:11 +00:00
Collaborator

Description

I made a few adjustments for smaller viewports. The main goal was to make the API selection usable on mobile as it wasn't readable.

Before:

Before image is not optimized for mobile

After:

After image is optimized for mobile

I cleaned up the code a bit while doing this and reduced code duplication. I also introduced spacing variables that are aware of the viewport width for dynamic spacing.

How to test

Everything should look pretty much the same expect a few spacing differences as I'm using a 8px pattern (8, 16, 24, 32) as is common these days.

The form should be a lot more different as my main focus was this section. It should be fully usable on smaller screens and look quite similar on bigger screens.

Closes #4
Closes #5

## Description I made a few adjustments for smaller viewports. The main goal was to make the API selection usable on mobile as it wasn't readable. ### Before: <img src="/attachments/485e1826-ef6a-432f-80b0-17898fc2a6e1" alt="Before image is not optimized for mobile" width="300"/> ### After: <img src="/attachments/3e138156-2041-4ee4-b4dc-78b6b2c1116d" alt="After image is optimized for mobile" width="300"/> I cleaned up the code a bit while doing this and reduced code duplication. I also introduced spacing variables that are aware of the viewport width for dynamic spacing. ## How to test Everything should look pretty much the same expect a few spacing differences as I'm using a 8px pattern (8, 16, 24, 32) as is common these days. The form should be a lot more different as my main focus was this section. It should be fully usable on smaller screens and look quite similar on bigger screens. ## Related issues Closes #4 Closes #5
kaiserkiwi added 5 commits 2024-11-17 07:34:07 +00:00
- Use dynamic spacing for main element and sections
- Fix wonky padding when opening and closing faq answers
- The labels aren't cut off anymore
- Instead of trying to fit four buttons next to each other they're now one each line when not enough room is there
- Fix indentation in index.html
kaiserkiwi requested review from revengeday 2024-11-17 07:34:12 +00:00
kaiserkiwi requested review from marta 2024-11-17 07:34:12 +00:00
kaiserkiwi added 1 commit 2024-11-17 10:45:10 +00:00
revengeday approved these changes 2024-11-17 11:10:10 +00:00
Dismissed
revengeday approved these changes 2024-11-17 11:11:48 +00:00
kaiserkiwi added 2 commits 2024-11-17 13:33:25 +00:00
revengeday merged commit 217860f4c9 into main 2024-11-17 13:40:11 +00:00
kaiserkiwi deleted branch mobile-optimization 2024-11-20 04:16:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: revengeday/cyber-circle-creator#8
No description provided.