Aleš Sýkora / November 28, 2023 / 0 comments

Inline SVG bottom padding in Oxygen Code Block

Post summary: If you use the SVG file inline in Oxygen Builder Code Block element, you may encounter a little padding at the bottom of your code block. To fix this issue, just add this to your custom CSS stylesheet: Your problem should be fixed 🙂

If you use the SVG file inline in Oxygen Builder Code Block element, you may encounter a little padding at the bottom of your code block.

Little padding at the bottom of code block with inline SVG

To fix this issue, just add this to your custom CSS stylesheet:

svg {
     display: block;
}

Your problem should be fixed 🙂

Fixed SVG bottom padding

Fuel my passion for writing with a beer🍺

Your support not only makes me drunk but also greatly motivates me to continue creating content that helps. Cheers to more discoveries and shared success. 🍻

0 comments

Share Your Thoughts