Next.js Discord

Discord Forum

Button disappears if don't add random letter to the code

Unanswered
bwrtu1 posted this in #help-forum
Open in Discord
there is a letter "a" in the line 10 if delete it the button disappear is there a solution for this ? am i missing something?

44 Replies

This is a css issue, remove all css and check to see if that still is the case
wdym if i remove all css site will look like forums in 2004
British Shorthair
try removing some parts of it
until you find where is the actual problem
i changed the code to this
i added a hidden text but i dont know why
it kinda worked
British Shorthair
i think the problem is with -mt-20
at the link
British Shorthair
i think that is causing the button to go upwards
yeah i changed it to mt-20
but why do i need to add that hidden text
British Shorthair
ordering i guess
smth with css box position
idk seems kinda unnecesery to me
This bootstrap right?
tailwind
British Shorthair
tailwind
Damnit
webdev sucks
British Shorthair
well atleast the problem is with your code
You take that back! You don't wanna angry the programming gods
British Shorthair
not with the tools or smth
:this_is_fine:
hahaha, right? @British Shorthair what did you do to anger the gods?
British Shorthair
idk bro 🤣
@British Shorthair not with the tools or smth
yeah i added something not making sense and it worked
i probably miss something there i didn't come across anyone having the same problem
British Shorthair
tbf in my opinion you should avoid losing negative margins
only if you have no other option
@British Shorthair take a look at mine question that I have... its even more infuriating
British Shorthair
where can I find it
nvm
For me, backend comes with a lot of pain
I started using Firebase and it was trash
no schema for database, bad querying, can't control the data
in the other hand Prisma and Nextauth come with a lot of technical issues
@British Shorthair no schema for database, bad querying, can't control the data
I actually find that nextjs is better than most js frameworks, for one it comes with a deployable backend that is headless unless you specify otherwise. The new app routing is something I am starting to get use to but hey there it is.
British Shorthair
nah nextjs is awesome
You two should join the discord server I run, but I would send you the invites in PM since sending them here would be a bit of a rude thing to do for this server.
British Shorthair
sure
what is it about
literally all things web development and design