Skip to content

Commit d16f04f

Browse files
committed
Change AlertMessage design to be flat
Avoid shadows if not really needed. Don't show in changelog
1 parent e9b464b commit d16f04f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

newIDE/app/src/ObjectEditor/Editors/ObjectPropertiesEditor.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import PropertiesEditor from '../../PropertiesEditor';
77
import propertiesMapToSchema from '../../PropertiesEditor/PropertiesMapToSchema';
88
import EmptyMessage from '../../UI/EmptyMessage';
99
import { type EditorProps } from './EditorProps.flow';
10-
import { Column, Line } from '../../UI/Grid';
10+
import { Line } from '../../UI/Grid';
1111
import { getExtraObjectsInformation } from '../../Hints';
1212
import { getObjectTutorialIds } from '../../Utils/GDevelopServices/Tutorial';
1313
import AlertMessage from '../../UI/AlertMessage';
@@ -62,13 +62,13 @@ const ObjectPropertiesEditor = (props: Props) => {
6262
<React.Fragment>
6363
{extraInformation ? (
6464
<Line>
65-
<Column noMargin>
65+
<ColumnStackLayout noMargin>
6666
{extraInformation.map(({ kind, message }, index) => (
6767
<AlertMessage kind={kind} key={index}>
6868
{i18n._(message)}
6969
</AlertMessage>
7070
))}
71-
</Column>
71+
</ColumnStackLayout>
7272
</Line>
7373
) : null}
7474
<PropertiesEditor

newIDE/app/src/UI/AlertMessage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const AlertMessage = ({
3939
const gdevelopTheme = React.useContext(GDevelopThemeContext);
4040

4141
return (
42-
<Paper elevation={10} square>
42+
<Paper variant="outlined">
4343
<Column expand>
4444
<ResponsiveLineStackLayout
4545
alignItems="center"

0 commit comments

Comments
 (0)