Hi I am trying to create tags, similar to the app dashboard in bubble:
However, my styling outline does not get split in a list of things, but rather creates one whole outline. How can I split the list of chars, rather than having one full string. Here is what it currently looks like?
Please note, for this implementation I am strongly against using a repeating group because it would cause a nested repeating group, which would not be good for performance. Please let me know if there is a better way to split the outlining without killing performance
I need to split the styling, so that the styling border ends and starts at each item of the list, making them look like separate boxes instead of one long rectangle.
I actually ended up using your solution since it was lightweight and much more customizable. A couple issues I’m facing is having conditional styles for the html. For instance: red background for data constraint and a blue background for another data constraint. I’m wondering if this is possible to do with html + bubble.
Also, there’s a bug where the html style gets overwritten by similar html. For example, 2 of those html elements, but one with a red background and one with blue gets overwritten by whichever one appears first. Is there some sort of reset or !important keyword that I’m forgetting to make it persistent?
You can use Bubble’s condition tab to add and remove classes. This can allow you to change any CSS properties you want.
As for the bug, you have to find what overwrites the html style and work out a way to select your elements with CSS in a way that does not interfere with Bubble’s own styling.