How can I make the handle which resizes content bigger. It's too small.

I set my parent up with this CSS but the handle that appears is so tiny that it's barely visible.
resize: both;
overflow: auto;
resize: both;
overflow: auto;
No description
18 Replies
ἔρως
ἔρως6mo ago
instead of putting that on the <div>, put it on the <textarea>
o_O
o_OOP6mo ago
it's an <embed/> but now it's not even appearing.
<embed
src={selectedPdf}
title="product catalogue"
className="h-[90svh] resize overflow-scroll"
/>
<embed
src={selectedPdf}
title="product catalogue"
className="h-[90svh] resize overflow-scroll"
/>
ἔρως
ἔρως6mo ago
🤢 tailwind i don't think this will be possible then
o_O
o_OOP6mo ago
No description
o_O
o_OOP6mo ago
because of tailwind?
ἔρως
ἔρως6mo ago
no try to remove the overflow scroll but i don't think it will work that well embeds are ... weird
o_O
o_OOP6mo ago
yea it didn't work you know a better tool for CSS?
ἔρως
ἔρως6mo ago
i don't think you will get it to work yes: sass/scss
o_O
o_OOP6mo ago
I used to use it. it's alright but I prefer tw it's the entire context switching
ἔρως
ἔρως6mo ago
tailwind has it's uses, but it's gross reading tailwind feels like touching wet food when washing the dishes
Mannix
Mannix6mo ago
i don't think you can directly style that bit so your best bet is pseudo element??
ἔρως
ἔρως6mo ago
it's in an embed it's controlled by an external process which is why i said that i don't think it is possible it looks like a pdf reader, which won't work on mobile, but many desktops have all sorts of fucked up scroll bars, and positioning anything perfectly is nearly impossible and i really mean what i said, specially those thin transparent hunks of junk that vanish
o_O
o_OOP6mo ago
making it resizable aside, are you saying using embed to preview pdf might also break on some devices?
ἔρως
ἔρως6mo ago
break? no, it just won't work you MUST provide a fallback for example, chrome mobile doesn't work with embed pdfs, and you need to use pdf.js by yourself
o_O
o_OOP6mo ago
alright. I just want a preview for the pdf on mobile and desktop and want to get done with it ill take a look at this pdf.js darn it. you're right. it says "plugin not supported" just tested on mobile
ἔρως
ἔρως6mo ago
you have to add fallback content
o_O
o_OOP6mo ago
what sort of fallback? Like a "download pdf" button? also it's quite odd knowing that pdf viewing is simply not a thing on mobile browsers. I was searching online thinking that there has to be a way but really, there isn't one. hmm it's just not implemented on moble browsers I guess.
ἔρως
ἔρως6mo ago
that or you can use pdf.js to show the pdf
Want results from more Discord servers?
Add your server