Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Add flexbox properties to chat CSS whitelist

1523110353

Edited 1523110503
Missingquery
Pro
Sheet Author
API Scripter
I recently discovered that, while styling messages via sendchat, "display: flex", "justify-content", and other flexbox-related properties seem to not be whitelisted in terms of CSS styles that are applicable to messages. As a script author, this is a bit of a hinderance to me and makes me have to resort to certain workarounds in order to style messages how I want to. Would it be possible for flexbox and related properties to be whitelisted at all? I'm not sure if this has been intentionally left out or if it's something that was just overlooked.
1523114078
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I'm pretty sure that it is an issue with how you're using it. They work fine in character sheets and styling of roll templates via character sheets.
1523116553
Missingquery
Pro
Sheet Author
API Scripter
I'm aware that they work fine in character sheets and rolltemplates, it's just that styling messages with the API via sendchat seems to 'snip' out flexbox-related properties for some reason. I assumed it was because they just weren't on the whitelist of acceptable CSS properties for the API.
1550175597
[Deleted]
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .