roganjoshua
Tailwind different in dev then when deployed
I am having some issues here deploying and I am not sure if this is a bug.
I have a separate css
div.home {
@apply w-full;
div.layout {
@apply grid grid-cols-1 justify-items-center w-full;
> div {
@apply justify-items-center w-full;
}
.head {
}
.intro {
> div {
@apply text-sm m-auto w-4/5 italic text-justify border-l-4 border-r-4 p-3;
}
}
.blurb {
> div {
@apply md:w-3/4 flex flex-wrap flex-1 justify-evenly m-auto p-3;
}
> div > div {
@apply prose prose-stone md:w-1/2 text-sm;
}
}
.postage {
@apply p-3;
.header {
@apply w-full m-auto md:w-3/4;
> div {
@apply text-center m-2 border-t-4 border-b-4 w-full;
> span {
@apply prose prose-stone;
}
}
}
.items {
@apply w-full m-auto flex flex-wrap justify-evenly md:w-3/4;
> div {
@apply md:flex-grow md:basis-1/3;
> div {
@apply prose prose-stone text-sm p-2;
.heading {
@apply prose border-b-2;
}
}
}
}
}
.gradings {
@apply p-3;
.header {
@apply w-full m-auto md:w-3/4;
> div {
@apply text-center m-2 border-t-4 border-b-4 w-full;
> span {
@apply prose prose-stone;
}
}
}
.items {
@apply flex flex-wrap justify-evenly m-auto md:w-3/4;
> div {
@apply md:flex-grow md:basis-1/2 p-2;
.heading {
@apply prose prose-stone uppercase border-b-2;
}
}
}
}
}
}
This seems to work fine in development
but not when I deploy to fly.
Tailwindcss and Tailwindcss/Typography all looks good but I think my css is not being processed as it should for production.
Is this a bug?
First Post!
roganjoshua
Last Post!
kevinschweikert
Popular in Questions
lets say i have a sample like
a = 20; b = 10;
if (a > b) do
{:ok, "a"}
end
if (a < b) do
{:ok, b}
end
if (a == b) do
{:ok, "equa...
New
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
Other popular topics
I would like to know what is the best IDE for elixir development?
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex











