podman-desktop icon indicating copy to clipboard operation
podman-desktop copied to clipboard

Readme with code not formatted well

Open deboer-tim opened this issue 9 months ago • 3 comments

Is your enhancement related to a problem? Please describe

On github, if a readme has code that is really wide it is put in its own box with a scrollbar. Inside the Podman Desktop extension page it extends very wide and make the whole page scroll.

e.g. here is the readme for the image checker: Screenshot 2024-04-23 at 2 18 00 PM

Describe the solution you'd like

The page should stay within the main boundary as it does on GitHub.

Describe alternatives you've considered

No response

Additional context

No response

deboer-tim avatar Apr 24 '24 14:04 deboer-tim

@deboer-tim from which screen is extracted this screenshot ?

AFAIK this page is now removed (the title is from the old details page if using podman-desktop:extension/extensionId

benoitf avatar Apr 25 '24 20:04 benoitf

Yes, it was from the old screen that has already been replaced. The new screen looks a little nicer, but long code snippets still go off to the right like this. Would be nicer to embed scrolling in each section (and copy/paste...) like GitHub does.

deboer-tim avatar Apr 25 '24 21:04 deboer-tim