LazeMSS / OctoPrint-TopTemp

Topbar temperature plugin for OctoPrint
21 stars 2 forks source link

With no icon, Top Temp text does not align with other text (class navbar-text) on navbar #52

Closed ManuelMcLure closed 3 years ago

ManuelMcLure commented 3 years ago

This is an example with Navbar Clock and Navbar Temp enabled, Discorded theme in UI Customizer: image If I select "Align icons to the left" it looks like: image Both Navbar Clock and Navbar Temp just set the class to "navbar-text" With icons and "Align icons to the left": image

LazeMSS commented 3 years ago

Thanks - will be fixed soon.

ManuelMcLure commented 3 years ago

I installed the develop branch and it does seem to fix the text alignment with no icons. It would be nice if it also aligned the text when you have icons on the left, but I can see how that would be harder to do.

LazeMSS commented 3 years ago

I installed the develop branch and it does seem to fix the text alignment with no icons. It would be nice if it also aligned the text when you have icons on the left, but I can see how that would be harder to do.

Do you mean when you icons on the left aligned or when there are other icons (from other plugins)?

ManuelMcLure commented 3 years ago

When there are icons on the left aligned: image

LazeMSS commented 3 years ago

Ahh you have an icon added... hmmm... maybe that can be fixed also.

LazeMSS commented 3 years ago

Try updating it is fixed now - but it doesn't look pretty if there are other items with graph background

ManuelMcLure commented 3 years ago

Looks good now. I don't think I'll personally use the graph background at all so this is OK for me.

LazeMSS commented 3 years ago

Did a quick fix more for small screensizes :)

ManuelMcLure commented 3 years ago

Latest works the same as the previous one for me, which I suppose is expected since I don't have a small screensize :)

LazeMSS commented 3 years ago

Fixed in 0.0.1.5