diff --git a/newIDE/app/src/EventsSheet/EventsTree/BottomButtons.js b/newIDE/app/src/EventsSheet/EventsTree/BottomButtons.js index 2097bd7fa70a..da1835859c49 100644 --- a/newIDE/app/src/EventsSheet/EventsTree/BottomButtons.js +++ b/newIDE/app/src/EventsSheet/EventsTree/BottomButtons.js @@ -96,7 +96,7 @@ export default function BottomButtons({ : addButtonTooltipLabelMouse )} > - Add a new event + + Add a new event } // $FlowFixMe[incompatible-type] @@ -107,7 +107,7 @@ export default function BottomButtons({ - Add... + + Add... } // $FlowFixMe[incompatible-type] diff --git a/newIDE/app/src/EventsSheet/EventsTree/InstructionsList.js b/newIDE/app/src/EventsSheet/EventsTree/InstructionsList.js index 2a36cd8ce1df..29c51286fe68 100644 --- a/newIDE/app/src/EventsSheet/EventsTree/InstructionsList.js +++ b/newIDE/app/src/EventsSheet/EventsTree/InstructionsList.js @@ -200,9 +200,9 @@ export default function InstructionsList({ const addButton = React.useRef(null); const addButtonDefaultLabel = areConditions ? ( - Add condition + + Add condition ) : ( - Add action + + Add action ); const addButtonTooltipLabel = screenType === 'touch' @@ -238,7 +238,7 @@ export default function InstructionsList({ connectDropTarget(
{instructions} diff --git a/newIDE/app/src/EventsSheet/EventsTree/style.css b/newIDE/app/src/EventsSheet/EventsTree/style.css index f5fca620e334..d50fb70c91fd 100644 --- a/newIDE/app/src/EventsSheet/EventsTree/style.css +++ b/newIDE/app/src/EventsSheet/EventsTree/style.css @@ -161,13 +161,13 @@ * Links to add a condition or an action */ .gd-events-sheet .add-link { - background:none!important; - color:inherit; - border:none; - padding:0!important; + background: none !important; + color: inherit; + border: none; + padding: 2px 6px !important; font: inherit; cursor: pointer; - opacity: 0.6; + opacity: 0.65; /** Ensure the links are not growing outside of their parents on small screens. */ text-align: left; @@ -175,7 +175,7 @@ overflow-wrap: break-word; } .gd-events-sheet .add-link:hover { - opacity: 0.9; + opacity: 1; } /**