Closed dhruvkb closed 10 months ago
This pull request fixes the CSS snippet for displaying language in the code preview generated by the @islands/prism plugin.
@islands/prism
The included code snippet did not work because
div
::before
By adding position: relative and the missing colon, these problems can be fixed.
position: relative
Thanks Dhruv!
Description 📖
This pull request fixes the CSS snippet for displaying language in the code preview generated by the
@islands/prism
plugin.Background 📜
The included code snippet did not work because
div
needs to be relatively positioned::before
pseudo-element needs two colonsThe Fix 🔨
By adding
position: relative
and the missing colon, these problems can be fixed.Screenshots 📷