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(home): applying more style fixes and extra assets #96

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Conversation

rapzo
Copy link
Contributor

@rapzo rapzo commented Nov 7, 2019

  • reworked stylesheets' directories

@aabdaab
Copy link
Contributor

aabdaab commented Nov 7, 2019

Bring back <%= javascript_pack_tag 'application' %> to tpi.html.erb so the react components work 👍

- reworked stylesheets' directories
}

.navbar-dropdown {
@if $desktop {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haven't used @if conditionals in sass! is it like @media query?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yap. But $desktop is defined in bulma though. We only configure the breakpoints variables in application.scss (for now, at least).

// $size-3: 2.5rem;
// $size-4: 2rem;
// $size-5: 1.5rem;
// $size-6: 1rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we gonna need them later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bulma defines and uses the $size-1 to $size-7. The commented values are the default values kept only for reference, since they match our specs.

@aabdaab
Copy link
Contributor

aabdaab commented Nov 7, 2019

Thanks for rearranging the styles 👏 I'm gonna merge this but we need to reiterate on the home page (we should add PT task for that if there is none?)

@aabdaab aabdaab merged commit ded7c99 into develop Nov 7, 2019
@simaob simaob deleted the fix/home branch November 7, 2019 11:38
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.

2 participants