Aligning Markdown Content in Home Assistant Frontend

Hey everyone, I’m facing a bit of a challenge with my Home Assistant setup and I was hoping someone could lend a hand. I’ve created a custom frontend using markdown to display some weather information, and while it looks great initially, the alignment keeps resetting after a short time. It’s a bit frustrating because I have to manually adjust it every few hours.

Here’s what I’ve done so far: I set up a card with markdown, added an image, and styled it to center everything. The initial setup was straightforward, and it worked perfectly. However, after about 30 minutes, the content shifts back to the left, and the image no longer stays centered. I’ve tried tweaking the CSS styles and even re-saving the configuration without changes, but the issue persists.

I’m wondering if there’s a more robust way to ensure the alignment stays consistent. Maybe there’s a specific CSS property I should be using or a different approach to structuring the markdown card. Any tips or suggestions would be greatly appreciated! Let’s see if we can crack this together. :blush: