nodejs.org
nodejs.org copied to clipboard
Feature/UI small improvements
On big screens there is a portion of the screen which is empty. The small UI improvement was to center the content on big monitors. (margin or paddings of the writings can be changed to better fit the space)
Issue:
Link: nodejs.org/
UI change:
@thomscoder
[x] Add a newline in
layouts/css/layout/_main.scss
on line 13In
layouts/css/page-modules/_home.scss
- [x] on line 194 correct tab/spaces indentation issue
- [x] on line 205, add a new line
Always run
npm run test
before committing so that tests may pass
thank you very much for your help. Fixing right away
Hi @thomscoder can you explain how a max-width: 780px
is affecting bigger screens?
Hi @thomscoder can you explain how a
max-width: 780px
is affecting bigger screens?
that media query was for vertical displays iirc. it's max-width && min-height
Thanks, I will resolve conflicts and update the pr
Is it possible to have this CSS in one common place and be used in both areas?
should I unify the files?
Is it possible to have this CSS in one common place and be used in both areas?
should I unify the files?
I think yes. So it stays consistent in both places.
I'm closing this PR as the current layout will soon be abandoned. Thank you anyway for your contribution!