-
Notifications
You must be signed in to change notification settings - Fork 18
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
#207: Calendars Page #286
base: master
Are you sure you want to change the base?
#207: Calendars Page #286
Conversation
…-file-which-causes-error-on-windows this file fails to add on window env
…-for-widows-env fix npm scripts for Windows env by adding cross-env package
src/client/calendar/Calendars.scss
Outdated
text-align: center; | ||
margin-right: 0px; | ||
border: 1px solid #aaa; | ||
padding: 0 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't use "px" in CSS, if you look closer to other files they all use "rems". For convenience there is a helper called pxToRem
using which you can specify pixels. When you shrink to mobile view I change base from 8px to 7px, that allows everything to progressively shrink.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Restuta Done
src/client/calendar/Calendars.jsx
Outdated
@@ -10,7 +10,10 @@ class Calendars extends Component { | |||
|
|||
const calendarsComponent = Object.keys(calendars) | |||
.map(k => <li key={k}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use x
in place of k
or key
if you want to be explicit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Restuta Done
@Restuta what else need to be done here? |
Conflicts and overall it’s not “production ready”, design is not great haven’t tested if it’s responsive, etc. |
Prototype
This implements
/calendars
route and closes #207