Skip to content
Advertisement

Display short tags on one line

The picture below is an image of the functionality from the site. In the column “Enter a code” the user can enter data using TagsInput. I would like to slightly improve the functionality so that short tags are displayed on one line. I know that you can apply “inline”, but then long tags go beyond the borders of the modal window.

JavaScript

I have already tried many options, and looked at many answers on stackoverflow, but did not achieve the result. Perhaps you can give me a hint.

Advertisement

Answer

Would be nice if you add a bit more code that this. I’m guessing your tag class is on the children? What you need is to put the parent container in flex.

JavaScript
JavaScript

enter image description here

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement