As mentioned in the title, the clear button does not work in the custom css section. To reproduce this bug, write some css code in the custom css section of a widget. Then click on the clear button. The css icon in the structure panel will be deleted, but the css codes will not be deleted.