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

Fix tutors links overflowing on mobile #638

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

tcaraher
Copy link

@tcaraher tcaraher commented Jan 19, 2024

Please check if the PR fulfills these requirements

  • The commit message is sensible and easily understood
  • Tests for the changes have been added (for bug fixes / features where relevant)
  • Docs have been added / updated (for bug fixes / features where relevant)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix. Fixes #639. The links in both TutorsLinks.svelte and Welcome.svelte were overflowing on mobile. To fix I added a media query via tailwind of 2 columns only above small screen size. In order to keep the colour scheme I ordered the divs appropriately,and reordered them above the small size. I then created a new custom component to eliminate reused code in both files called Links.svelte, placed in the src/lib/ui/navigators. This may not be the best place or name for this component, although it is what I judged best based on my limited knowledge of the codebase.

Finally, I was unable to confirm that my code works on the dashboard page, as I was unable to navigate there on the build running on my machine due to github auth not working. I am fairly certain that it should work perfectly.

What commits does this PR relate to?

Thank you for your contribution

We hope you stay around and connect with our growing community!

I am in first year in the Hdip at SETU and this is my first ever PR. While I have done my best to follow any established protocol, I am open to any feedback regarding my approach. Thank you.

Screenshot 2024-01-18 at 16 00 23 Screenshot 2024-01-18 at 13 37 06

Copy link

netlify bot commented Jan 19, 2024

Deploy Preview for redirect-tutors-reader canceled.

Name Link
🔨 Latest commit fdb2fa8
🔍 Latest deploy log https://app.netlify.com/sites/redirect-tutors-reader/deploys/65aa96be99602a0008da1b43

@ghost
Copy link

ghost commented Jan 19, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@tcaraher tcaraher changed the title Tutors links mobile Fix tutors links overflowing on mobile Jan 19, 2024
@edeleastar edeleastar merged commit 72b6db6 into tutors-sdk:development Jan 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tutors links overflowing on mobile
2 participants