beatrizsmerino/vue-users

Remove the horizontal scroll of the page

Closed this issue · 11 comments

hey @beatrizsmerino, can i work on this !?

Of course ! :)
Please just keep the same indentation and nomenclature that is in the whole project (lint, prettir, BEM...)

@od-c0d3r I think that the problem has not been solved, I still see the horizontal scroll.
I think it is because I used in users-list__item a margin: 1rem and removed the extra side margins giving a negative margin to users-list__wrapper.
I would like to keep the margins of 'users-list__item'.
image
image

Thank you for pointing it out,
i'm trying to get the app up locally but it fails when I npm run server or build with error

ERROR  Failed to compile with 1 error                                                                                                                                                        8:32:36 PM
Syntax Error: TypeError: eslint.CLIEngine is not a constructor

ok I will check this error

Thank you for pointing it out, i'm trying to get the app up locally but it fails when I npm run server or build with error

ERROR  Failed to compile with 1 error                                                                                                                                                        8:32:36 PM
Syntax Error: TypeError: eslint.CLIEngine is not a constructor

It is strange, it lets me launch it without errors.
image

Have you done this?

  1. npm install
  2. npm run serve
    Can you see on which line the error is displayed and send me a screenshot?

i did install before build or serve yes

Untitled

what do u think about this #126 ?

what do u think about this #126 ?

sorry, I'm checking the dependencies and adding the eslint and prettier configuration.

what do u think about this #126 ?

OK I think that the error it is fixed.
Please can you delete and clone the project again?
I have removed the last update of eslint 8.0.0 dependency, it was not working properly.
And I added the eslint and prettier configuration, you can fix the errors by running the command npm run lint.

image
I think if you delete margin: 0 -1rem 4rem and add this margin-bottom: 4rem, it fixes the horizontal scrolling, but keeps the side margins.