Sirhc
1
Hello
I have a masonary container with a gauge in it. It is shown below.
![image](https://global.discourse-cdn.com/business6/uploads/nodered/original/3X/1/d/1d418558d22e91983d33ad456db4c87daae430ab.jpeg)
I have some CSS for it:
#nr-dashboard .masonry-container ui-card-panel#Pool_Water {
box-shadow: 0 0 6px #00000070;
background: transparent;
border:none;
}
Does anyone know how to center the gauge in the container? It's currently aligned right. I have tried align-items: center; but that didn't work :\
Hi @Sirhc
I am not a pro with dashboard, better people here than I, but...
If you add a ui_template
node, and set to appear in the head
section with the following.
<style>
.center-gauge {
width:100% !important;
}
</style>
Then, add a class to your gauge node
2 Likes
system
Closed
4
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.