Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions newIDE/app/src/EventsSheet/EventsTree/BottomButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function BottomButtons({
: addButtonTooltipLabelMouse
)}
>
<Trans>Add a new event</Trans>
<Trans>+ Add a new event</Trans>
</button>
}
// $FlowFixMe[incompatible-type]
Expand All @@ -107,7 +107,7 @@ export default function BottomButtons({
<ElementWithMenu
element={
<button style={styles.addButton} className="add-link">
<Trans>Add...</Trans>
<Trans>+ Add...</Trans>
</button>
}
// $FlowFixMe[incompatible-type]
Expand Down
6 changes: 3 additions & 3 deletions newIDE/app/src/EventsSheet/EventsTree/InstructionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ export default function InstructionsList({

const addButton = React.useRef<?HTMLButtonElement>(null);
const addButtonDefaultLabel = areConditions ? (
<Trans>Add condition</Trans>
<Trans>+ Add condition</Trans>
) : (
<Trans>Add action</Trans>
<Trans>+ Add action</Trans>
);
const addButtonTooltipLabel =
screenType === 'touch'
Expand Down Expand Up @@ -238,7 +238,7 @@ export default function InstructionsList({
connectDropTarget(
<div
className={className}
style={style}
style={{ paddingTop: 2, paddingBottom: 2, ...style }}
id={`${idPrefix}-${areConditions ? 'conditions' : 'actions'}`}
>
{instructions}
Expand Down
12 changes: 6 additions & 6 deletions newIDE/app/src/EventsSheet/EventsTree/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,21 +161,21 @@
* 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;
white-space: normal;
overflow-wrap: break-word;
}
.gd-events-sheet .add-link:hover {
opacity: 0.9;
opacity: 1;
}

/**
Expand Down
Loading