Kanban card tags fixed width

I tried to make the tags template of the Kanban card fixed with. Best will be to habe always 100% of the available width. But this do not work well with just 1 tag or 2 ones.
Can you please give me a hint how to make the template 100% of the available card space

If you want to make each take fill the 100% of available width, please, check the following snippet: Code Snippet