I’ve tried using text-indent
in the XD 21 pre-releases, but it doesn’t seem to work.
Can someone confirm this isn’t supported yet?
I’ve tried using text-indent
in the XD 21 pre-releases, but it doesn’t seem to work.
Can someone confirm this isn’t supported yet?
@kerrishotts can confirm that for you
text-indent
is not supported at the moment.
OK, thanks. Good to know. It’d be great to have someday…
Still? That’s odd! Is there a plugin to override this issue?
No, this is just something UXP will have to implement eventually.
I used :before
in some plugin, worked fine. It might not work if the element is flex or something like that but mostly this will do.
This gives you 20px indentation, you can even have negative values:
p:before {
content: '';
margin-left: 20px;
}
That’s a clever workaround!