From 83471892cea35aca7cf87f4fab399e4ead6e1348 Mon Sep 17 00:00:00 2001 From: Stefano Ricci <1219739+SteRiccio@users.noreply.github.com> Date: Fri, 15 Nov 2024 09:13:01 +0100 Subject: [PATCH] Geo attribute: added download button (#3653) * layout adjustmnets * code cleanup --------- Co-authored-by: Stefano Ricci Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- webapp/components/buttons/ButtonDelete.js | 4 +-- webapp/components/form/uploadButton.js | 3 +++ .../nodeDefs/components/types/nodeDefGeo.js | 25 ++++++++++++++----- .../nodeDefs/components/types/nodeDefGeo.scss | 6 +++++ webapp/utils/domUtils.js | 22 +++++++++++----- 5 files changed, 46 insertions(+), 14 deletions(-) diff --git a/webapp/components/buttons/ButtonDelete.js b/webapp/components/buttons/ButtonDelete.js index 958b30df63..026d84f83c 100644 --- a/webapp/components/buttons/ButtonDelete.js +++ b/webapp/components/buttons/ButtonDelete.js @@ -4,11 +4,11 @@ import classNames from 'classnames' import { Button } from './Button' export const ButtonDelete = (props) => { - const { label = 'common.delete' } = props + const { className, label = 'common.delete' } = props return (