portal

genekim 2023-11-06T21:04:58.182759Z

@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
djblue 2023-11-07T16:50:53.494359Z

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

genekim 2023-11-07T16:51:05.936499Z

Woooo!!!! TY!

djblue 2023-11-07T17:25:04.688849Z

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

genekim 2023-11-08T00:21:43.088539Z

It’s beautiful! Thank you! It works so well! πŸ™ πŸ™ πŸ™

1
genekim 2023-11-08T00:23:30.465809Z

Earlier this week, after seeing a video that @mitesh 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β€¦β€œ. πŸ˜† πŸ˜‚

djblue 2023-11-08T00:25:46.461979Z

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

djblue 2023-11-08T00:26:00.489049Z

πŸ˜‚

genekim 2023-11-08T00:26:36.592049Z

OMG.

djblue 2023-11-08T00:26:38.747099Z

But, yeah, css is a very odd DSL

genekim 2023-11-08T00:27:27.138419Z

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
djblue 2023-11-08T00:28:05.774859Z

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

djblue 2023-11-08T00:28:49.817399Z

I will always share the madness πŸ”₯

genekim 2023-11-08T00:31:47.036199Z

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!

emilaasa 2023-11-07T06:47:15.738919Z

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

☝️ 1