To horizontally align the contents of your table row in Metronic 8 (which is based on Bootstrap), you need to ensure that:
The columns (<td>) align properly within the row.
Inline elements inside the <td>s are aligned vertically and/or horizontally as desired.
✅ Your Goal:
You want the label ("Orages") and the badge + icon in the next column to be visually aligned horizontally, probably aligning the top or middle of these elements.
This ensures both <td> contents align in the middle of the row height.
Option 2: Align items horizontally (left/right) or use Flexbox
If you want to align the badge and icon next to each other, and have them align with the text on the left — you're mostly okay, but consider wrapping the right-side content in a flex container:
Added d-flex align-items-center to the second <td> to align badge + icon vertically.
Changed ms-2 to me-2 for margin-right instead of margin-left (more intuitive for LTR reading).
⚠️ Note: If you're using Bootstrap 5+, ms-* is correct for margin-start, but me-* is margin-end. In RTL layouts (common in Metronic), direction matters. Confirm your layout direction.
Option 3: Force same baseline (if needed)
If you're still seeing misalignment due to font-size differences, consider reducing the icon size temporarily or wrapping the icon in a span with matching line-height/font-size.