Move pie chart to top when it goes bottom

0
Hello, I want my pie chart to go up like this (it's currently at bottom leaving big space) How can I achieve that ? Thanks in advance :)
asked
2 answers
4

Hello Phutharin,

It depends a bit on the context of this widget. You can

play around with the margin and padding of this element.

margin-top:0;
padding-top: 0;

If this is not working for you, have a look at https://www.w3schools.com/css/css_positioning.asp :)

 

answered
3

You can modify the positioning of the pie chart through css as well, first assign a class in the widget and use this css.

.class  > :first-child > :first-child > :first-child{
}

this one is for the pie chart.


.class > :first-child > :first-child  > :nth-child(3){
}

this one is for the keys

answered