Addons-frontend: AMO homepage has layout issues for German on smaller screen sizes

Created on 18 Dec 2017  路  24Comments  路  Source: mozilla/addons-frontend

STR:

  1. Load AMO homepage in responsive design (~720 - 750 width)
  2. Change your locale to Deutsch
  3. Observe the layout of the Collections shelf (Customize the way Firefox works...)

Expected result:
There are no layout issues

Actual result;
There is little to no spacing between the Collection titles

Notes:

  • reproduced on all AMO servers with FF57 Win10 and Android 7.0 (tablet).

image

ux assigned good first bug mentor assigned p3 amo desktop pages verified fixed papercut

Most helpful comment

Thanks @championshuttler @rebmullin and @willdurand for all the help and quick reviews :smile:

All 24 comments

@AlexandraMoga , I can fix this. May I ?

@himanish-star if you are still interested in looking at this then feel free - please let me know if you have any questions. When you have a PR please file it referencing this issue with "Fixes #ISSUE_NUMBER". Thanks!

@muffinresearch, Thanks. I am currently a bit occupied elsewhere :sweat_smile: . So if someone else wants to work on this they can surely move ahead. In the meanwhile if I find some time, I'll surely work on this and file a PR.

@himanish-star no problem - I've updated the labels and this is open for other contributions.

@pwalm Could you advise what we'd do best in this case?

Here's a layout I mocked up for skinnier view ports that should accommodate longer text strings/localization:
screen shot 2018-03-02 at 1 53 36 pm

If this is your first contribution, please refer to https://wiki.mozilla.org/Add-ons/Contribute/Code on how to get started.

Mentor: @willdurand

Hey @caitmuenster I would like to work on this issue. So can I be assigned this?

Hi @hritvi thanks for your interest. Go for it! If you need any help, please feel free to ask here :smile:

Hi @hritvi, I just saw your Pull Request for this issue. Thank you!

Yet, I don't think we should modify the CSS breakpoints, because that impacts everything, not just what we're trying to fix. I think we should rather update the CSS for the Card (or the closest component possible).

Hey @willdurand. Thanks for the quick review.
I agree with you on CSS Breakpoints. Would update my pull request soon.

Hey @willdurand I have updated the PR. The views now are :
(For media screens between 720px and 760px)
screenshot from 2018-08-23 17-53-30

Awesome, thanks for your contribution @hritvi!

Thanks @championshuttler @rebmullin and @willdurand for all the help and quick reviews :smile:

I think this patch might have broken the Theme categories section from the homepage:

This is for full size screens
image

Medium size:
image

oh noes... it could be this line: https://github.com/mozilla/addons-frontend/pull/5974/files#diff-60639a955bb764f0dc57c23a34ffbd85R135

oh sorry... I would change it right now...

I am looking into it now

oh sorry... I would change it right now...

@hritvi no worries, it is fine and that's why we have QA

@hritvi I just saw your new patch. Thanks for that! We are going to revert the first patch, and then you will be able to submit your patch again along with the second fix. We'll try to make sure everything works well before merging :)

@hritvi reverted! Now (and if you like) you can submit a new PR with your previous changes + your fix in #6211. I can help you with that if you need, just let me know!

We usually don't revert commits but we freeze the code in 30 minutes (meaning the code in master in 30 minutes will go live in two days). That's why we prefer reverting your patch, it gives everyone more time to work on it and test it before everyone can see it.

awesome, thanks @hritvi!

Verified fixed on AMO-dev with FF62, Win10x64 and Android 8.0

image

image

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sparsh1212 picture Sparsh1212  路  5Comments

jrbenny35 picture jrbenny35  路  6Comments

ioanarusiczki picture ioanarusiczki  路  4Comments

ioanarusiczki picture ioanarusiczki  路  5Comments

bobsilverberg picture bobsilverberg  路  4Comments