Integrating your own css doesn't work with Rails 7.1.2
Hello,
I use Rails 7.1.2 and Ruby 3.0.2. I wanted to include my own css. It doesn't work. The following errors occur:
Sprockets::Rails::Helper::AssetNotFound in Pages#index
The asset "custom.css" ...
bemsa
posted
1
CSS
How do I have a list view like tailwind?
It seems like the layout issue you're facing might be related to the CSS styling of your list. You can try altering the CSS to display the listings in rows rather than as large boxes. If you're usi...
Emma Wilson
replied
2
CSS
Dynamically create sass variables in rails
I have a multi-tenant app where each tenant can set their primary and accent colors. Is there a way i can grab those values and insert them into a sass file on page load? I"m using rails 5 and post...
Matt Taylor
replied
•
Solved
7
CSS
What is the best way to add a dynamic active class to a link with Tailwind CSS?
spacerobotTR
replied
•
Solved
7
CSS
How do I "rails g scaffold book title" without the default tailwind generated classes on i.e app/views/* files and etc, if any?
I also use this same method.
David White
replied
2
CSS
Rails Tailwind Apply Directives not rendering
I got the solution, I generated assets with the `precompile` command which generated assets in public dir, and the assets in the public dir were capturing the request not allowing the development s...
Bishwas Bhandari
replied
2
CSS
Tailwind Checked Radio Buttons = Change Background
Ok, just solved my own problem. For anyone else wanting to turn radio buttons into actual buttons using CSS there's a 'focus-within' class used to target child elements. I'll probably move away fro...
Tim Dowling
replied
•
Solved
2
CSS
ViewComponents and Tailwind CSS JIT
found out the change in Tailwind that prevented the expected behavior.
Stéphane Paquet
replied
•
Solved
2
CSS
How do I add Zurb foundation-sites using webpacker?
That template was gold. Here's a gist that that extends that thinking, looking at setting up a basic working environment: https://gist.github.com/dvodvo/313bcb4da83030c48280fe76065da9e3
Jerome .
replied
6
CSS
How do I integrate a bootstrap theme with rails 6 ?
Just watched this tutorial and it was super helpful - https://gorails.com/episodes/using-purchased-themes.
Before that, I struggled with it for awhile as well. I figured it out with a free templat...
Tim Jones
replied
5
CSS
Iterating using css grid
I had to add partial and it worked. Cheers,
<%= render partial: 'card', locals: { gym: gym, index: index } %>
Brian Gilbank
replied
•
Solved
14
CSS
How do use image-url in scss
I’ve watched your lesson on setting up bootstrap in Rails 6. I have a small issue though with trying to add a background image to class. I can’t seem to get image-url or assset-url to work. Probabl...
Zen Garden DXB
posted
1
CSS
Tailwind - own components - yes or no?
@Ricky thanks for this input. i already have started to use more Vue including components / slots.
Bruno Steinmann
replied
•
Solved
5
CSS