Skip to content

Commit

Permalink
Review changes: make the icon smaller.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed Oct 12, 2023
1 parent 35884d7 commit 47d14a9
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions newIDE/app/src/EventsSheet/EventsTree/Instruction.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,17 +531,23 @@ const Instruction = (props: Props) => {
id={id}
>
{showDeprecatedInstructionWarning && metadata.isHidden() ? (
<IconButton
key="deprecated"
size="small"
tooltip={
props.isCondition
? t`Deprecated condition`
: t`Deprecated action`
<Tooltip
title={
props.isCondition ? (
<Trans>Deprecated condition</Trans>
) : (
<Trans>Deprecated action</Trans>
)
}
fontSize="small"
>
<Warning style={{ color: warningColor }} />
</IconButton>
<Warning
style={{ color: warningColor }}
className={classNames({
[icon]: true,
})}
/>
</Tooltip>
) : null}
{instruction.isInverted() && (
<img
Expand Down

0 comments on commit 47d14a9

Please sign in to comment.