Комментарии:
we couldn't get the code
ОтветитьThe problem I run into trying to make details & summary act as accordions is working out a method to keep the replacement-marker vertically centered in the summary as the summary grows in height if it's text starts wrapping on small screens.
ОтветитьI use this (summary+details, without styling) on GitHub all the time when pasting longer logs into the PR/issue. It is easily searchable and does not bloat the comment unnecessarily.
ОтветитьGreat. Really impresive, I've never seen such solution.
ОтветитьI used the same method in my recent project to display the notifications details on the dashboard where the summary is type and the count of warning while the content is a table with some action buttons.
Thanks Florin!
That’s great
Ответить