Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Added css bundling rails #153

Merged
merged 3 commits into from
Oct 14, 2021
Merged

Added css bundling rails #153

merged 3 commits into from
Oct 14, 2021

Conversation

williamkennedy
Copy link
Contributor

@williamkennedy williamkennedy commented Oct 13, 2021

  • Drop bootstrap gem
  • Drop fontawesome gem
  • Add cssbundling-rails
  • Run bootstrap installer
  • Add fontawesome from CDN

As per this issue.

@import "font-awesome-sprockets";
@import "font-awesome";
@import "bootstrap";
@import "jumpstart/announcements";
Copy link
Owner

Choose a reason for hiding this comment

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

Should we still inject this into the application.bootstrap.css file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes. Good point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And done.

// alert shouldn't have a bottom margin
body > .alert {
margin-bottom: 0;
}
Copy link
Owner

Choose a reason for hiding this comment

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

I don't know that these are necessary anymore. If they are, I guess we can move them to a separate file and inject an import like the announcements.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems to look fine to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants