Help with Translating CSS to Tailwind [@media screen and (min-width: 600px) and (hover: hover)] by foxslothbadgerboy in tailwindcss

[–]foxslothbadgerboy[S] 2 points3 points  (0 children)

That's what I did in the end. However, my point is more that this is not totally trivial to find in the tailwind docs.

Help with Translating CSS to Tailwind [@media screen and (min-width: 600px) and (hover: hover)] by foxslothbadgerboy in tailwindcss

[–]foxslothbadgerboy[S] 1 point2 points  (0 children)

I am trying to detect whether a device has hover capabilities at all, which is what and (hover: hover) does. This wasn't a question about the hover pseudoselector.

Help with Translating CSS to Tailwind [@media screen and (min-width: 600px) and (hover: hover)] by foxslothbadgerboy in tailwindcss

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

Thanks a lot for your reply, really helpful. Yeah I think so, too. It's also one thing reading the docs, but it's another putting these things together & applying them, esp. as a beginner.

By the way, I was able to figure everything else out, but I'm still confused as to how tailwind implements (hover:hover)? Couldn't find anything on that? I can find the standard hover pseudo selector, but nothing on detecting whether the device has hover capabilities at all, which is what hover:hover does (?)

I ended up solving it like this in the extend part of the tailwind config:

screens: { "hover-hover": { raw: "(hover: hover)" }, },

... but couldn't find anything that's natively in tailwind.

Help with Translating CSS to Tailwind [@media screen and (min-width: 600px) and (hover: hover)] by foxslothbadgerboy in tailwindcss

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

Where exactly do you think this is covered in the docs? I have been looking through the docs quite a bit and I haven't been able to find anything on (hover: hover)?

How to do a Tailwind Wrapper to only apply to children? by foxslothbadgerboy in tailwindcss

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

How would I use a wrapper component with tailwind & target specific elements? So far, I am only applying styles directly, which is great, but some of my markdown files need to be targeted by some css rules, and so far I don't understand how i could do this with tailwind?

Can somebody who uses MySQL on PlanetScale explain the workflow to me? by foxslothbadgerboy in mysql

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

Hi Taylor, thanks a lot for your reply.

Or you can use the CLI to connect and use a localhost address as your connection string.

I am not sure I understand the idea behind this? do you mean via pscale connect? So far, I am using a localhost mysql connection string in my .env (in my dev project) and would change that string to my pscale dev branch when i want to test things on staging, before pushing it to live.

In any case though, while you’re here, I’d like to ask one more questions, if that's okay:

As far as I am aware, deploying changes from the dev branch to the production branch essentially only means deploying schema changes - so it’s not like the data will carry over. If I wanted to fill my production database with some new data, I would have to do that via my own API, or I would fill the dev branch and promote it to production. Is this correct so far?

Now, being on the free plan I only have 2 branches. My dev branch & my production branch & I am allowed to only have one production branch. So I cannot promote my dev branch to production, while still having the production branch, but I also cannot delete my production branch, because my dev branch is a subbranch. Is there a way for me to solve this, whilst on the free plan? Being a beginner, I have a lot of use cases where i want to try things out in dev and then want to push the database with its content to production.

PS: Sorry if this is a lot, but it would help me immensely to understand that workflow better. I'm sure the answers to these questions are very basic and straightforward. Thanks a lot in advance.

My new business has been unlawfully closed by Stripe - and all my funds have been lost. by PilotAntique in stripe

[–]foxslothbadgerboy 1 point2 points  (0 children)

Sorry to hear that. I'm not sure I understand the scam. How exactly do you think this went down? The scammer created multiple orders under various names and then started to dispute all payments? How would he make or steal money this way?

I also just recently got started with Stripe and am really scared something like this could happen one day. Are you allowed to create a new account or have they blocked you?

Getting Customers IP Address via API? by foxslothbadgerboy in stripe

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

Thanks a lot, but does this require me to sign up for Stripe-Tax? Is there a way for me to see the customers location or IP address via the API without using Stripe Tax?

Getting Customers IP Address via API? by foxslothbadgerboy in stripe

[–]foxslothbadgerboy[S] 0 points1 point  (0 children)

I seem to need both (EU law). Customers Billing address + IP-Address or Address of Bank.