I didnt use the snipset, but while trying I saw that changing the code
display: inline-block;
into
display: inline-flex; seems working. I think I can use that.
One more thing if u dont mind;
margin-left: 10px; line puts some marging to the left, and it seems it puts some margin between “categories” and “tags” too. At least it seems so. However, I’d like to have “0” margin, so it lines up with post name, but I’d like to have some spacing between “categories” and “tags. How can I achieve that?