Replies: 2 comments 7 replies
-
Are you minifying the final sources? |
Beta Was this translation helpful? Give feedback.
-
I'm coming back to this, since I still didn't find a possible fix yet. But also a question cam up that I hope to get an answer for: Like the override is located under |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently struggling to use an SVG icon inside a template using the
{% include %}
option.The icon itself works fine and kinda displays as it should. What gives me headaches is the fact, that spaces left and right seem to be missing, or at the very least got reduced a lot.
I do wrap the
{% include %}
part into aspan
(Also tried withp
anddiv
without any real difference) that has thetwemoji
class applied to it.The current result looks like this:

Notice, how the calendar SVG has no spaces on its left and right, yet the source shows that there should be any:

One thing I notice too is, that it doesn't seem to "fit" vertically too...
Personally, I blame the
flex
thing for that, but not sure if that really is the cause.I do use the
mkdocs-blogging
plugin to create those text areas and have the following custom HTML template used:From what I can tell does the plugin itself not override or otherwise manipulate any of the CSS used by material for mkdocs and only adds and uses its own variants.
My current source code of the sites can be found here:
https://github.com/Andre601/blog/tree/feature/change-icon
Any help to fix this would be highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions