Super π¦Έπ»
Explore posts from serversKPCKevin Powell - Community
β’Created by Super π¦Έπ» on 5/27/2024 in #front-end
How can I show the select options at the bottom of the screen on a mobile device?
10 replies
DTDrizzle Team
β’Created by Super π¦Έπ» on 6/13/2023 in #help
Do we have to add enums to the migration manually?
I have the following in the my schema:
Everything worked great except the enums did not get added to my
sql
file. I needed to manually add the following to my sql
file:
Is that expected for now?5 replies
DTDrizzle Team
β’Created by Super π¦Έπ» on 6/4/2023 in #help
Can someone help me understand these 2 examples using pool and client?
I'm reading through the docs and see that in the 2 Neon examples, they use a pool and client. From what I understand, pools support multiple requests and a client doesn't.
The 2 questions I have are:
- When would I want to close the pool or client? I would assume I would want to keep it open in production so that I wouldn't need to open the connection again.
- Why would I use a client?
Here are the examples I'm looking at in the docs:
The docs show this example showing to close a pool (https://orm.drizzle.team/docs/installation-and-db-connection/postgresql/neon):
And the example provided uses a client https://github.com/drizzle-team/drizzle-orm/blob/main/examples/neon-cloudflare/src/index.ts
1 replies
KPCKevin Powell - Community
β’Created by Super π¦Έπ» on 4/18/2023 in #front-end
How to create restrict absolute positioned element from leaving grandparent's boundary?
27 replies
KPCKevin Powell - Community
β’Created by Super π¦Έπ» on 1/14/2023 in #front-end
How can I convert a span to an img
How can I convert a
span
to an img
?
--
Can I get some help with HTML?
What would I need to do in order to make a span
viewed the same way as an img
while considering accessibility?
I know itβs not semantically correct. Our current circumstances donβt load our img[src]
in our screenshots so I was wondering if there are some attributes that I can add to a span
with a background-image
and have it viewed the same as an img
(e.g. alt
attribute)?
Iβm happy to read more into it if someone can point me where to look. My Googling has reached a dead end7 replies