Fork me on GitHub
#portal
<
2023-11-06
>
genekim21:11:58

@djblue I made a video of me using Portal to display the results of OpenAI return value in Markdown, which is amazing. Is there a way to have the Markdown viewer shrink the width to match the window, instead of clipping the view? Thank you!!! https://capture.dropbox.com/CzxYKzY0EEh03RHb

👀 1
emilaasa06:11:15

I have no solution to offer, but that is a really good way to ask Gene - super helpful with an explanatory screencast!

☝️ 1
djblue16:11:53

Thanks for the feedback! I'll see about making the css a bit more response for this type of use case 👌

genekim16:11:05

Woooo!!!! TY!

djblue17:11:04

Ok, https://github.com/djblue/portal/actions/runs/6788092350 is releasing and should address this issue 👌

genekim00:11:43

It’s beautiful! Thank you! It works so well! 🙏 🙏 🙏

awesome 1
genekim00:11:30

Earlier this week, after seeing a video that @U013MQC5YKD made, I literally thought, “I’m going to get more proficient at CSS, so I can build more things myself.” And then I see this, and I feel like, “Nope, I’m never going to understand this stuff…“. 😆 😂

djblue00:11:46

I got you: (- [100 :vw] [36 :px])

djblue00:11:38

But, yeah, css is a very odd DSL

genekim00:11:27

My apologies that my request caused you to have to descend into that madness. But it works so splendidly!!! (Resisting urge to lookup what vw is, lest it deter me from learning more CSS!). Haha. Thanks again!

😂 1
djblue00:11:05

Ohh, vw is view width, the width of the browser window

djblue00:11:49

I will always share the madness 🔥

genekim00:11:47

Huh! That actually seems quite handy! That’s so cool — I think I recognize why some of my code renders so weird now. I’ll be using this trick again for sure — thank you for the unexpected CSS lesson!