…it will look like C: [R] when displayed in a card (only one space character in between)
So… what’s the trick to add more space between the C: and [R]?
PS: I also tried adding (HTML space) and \u0020(Unicode space); in the entity name, unfortunately that didnt worked either… or, I wasn’t able to figure out how to do it correctly.
Perhaps I am missing something, what “type” of card? You say “these cards” … which “cards” ? Entity card, entities card … I see nothing in your code snip posted that shows what type of card.
That’s how browsers work: they collapse multiple consecutive whitespace characters to one. To force it, use no-break spaces (in HTML) or invisible Unicode characters (printable and not taking up zero space).
@kbrown01, it doesn’t matter which card I use. The following solution works for all cards. I was right to suspect I need to use unicode. I just wasn’t pasting the actual character, I was typing \u0020 and \u3000 instead of the actual invisible space character itself below:
I just copied the invisible text between the curly double quotes “ ” at the link above (at top of the webpage). It look look like they’re just using a regular space character, however, it definitely isnt.
Anyway, I just pasted the special space character a couple of times in a row in the code below; specifically, the line:
Well OK, but that is merely a hack for injecting your number of spaces desired and may or may not perform well in some circumstances especially in a flex grid. Better solutions would be using CSS and setting some prefix along with some padding and/or alignment in card-mod to make a proper solution.
Yes, that’s exactly what I was asking for originally. This solution works great on all my devices. Not worth spending a bunch of time trying to redo via CSS.