fix several css issues

This commit is contained in:
JFH
2021-08-09 10:37:51 +02:00
parent e53182456a
commit 27ffeb156f
6 changed files with 18 additions and 43 deletions

View File

@@ -44,7 +44,11 @@ export default {
* @returns {void}
*/
const showPanel = (on, tool) => {
$id(`${tool}_panel`).style.display = on ? "block" : "none";
if (on) {
$id(`${tool}_panel`).style.removeProperty('display');
} else {
$id(`${tool}_panel`).style.display = 'none';
}
};
/**