Skip to content

Commit 50c8764

Browse files
committed
fix
1 parent 0162546 commit 50c8764

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/components/ComponentsSelection/ComponentsSelection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const ComponentsSelection: React.FC<ComponentsSelectionProps> = ({
101101
/>
102102

103103
<Grid>
104-
<div data-layout-span="XL8 L8 M8 S8">
104+
<div data-layout-span="XL7 L7 M7 S7">
105105
{searchResults.length > 0 ? (
106106
searchResults.map((component) => {
107107
const providerDisabled = isProviderDisabled(component);
@@ -173,7 +173,7 @@ export const ComponentsSelection: React.FC<ComponentsSelectionProps> = ({
173173
)}
174174
</div>
175175

176-
<div data-layout-span="XL4 L4 M4 S4">
176+
<div data-layout-span="XL5 L5 M5 S5">
177177
{templateDefaultsError ? (
178178
<div style={{ marginBottom: 8 }}>
179179
<IllustratedError title={templateDefaultsError} compact />
@@ -191,7 +191,7 @@ export const ComponentsSelection: React.FC<ComponentsSelectionProps> = ({
191191
))}
192192
</List>
193193
) : (
194-
<Infobox fullWidth variant="success" icon="add">
194+
<Infobox variant="success" icon="add">
195195
<Text>{t('componentsSelection.pleaseSelectComponents')}</Text>
196196
</Infobox>
197197
)}

src/components/Ui/Infobox/Infobox.module.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55
padding: 1rem;
66
margin: 1rem 0;
77
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
8+
overflow: hidden;
89
}
910

1011
.icon {
1112
font-size: 4.5rem;
1213
flex-shrink: 0;
13-
width: 2rem;
14-
height: 2rem;
14+
width: 1.5rem;
15+
height: 1.5rem;
1516
color: #fff;
16-
margin: 0 1rem;
17-
margin-right: 2rem;
17+
18+
margin-right: 1rem;
1819
}
1920

2021
.content {
2122
flex-grow: 1;
22-
padding-right: 3rem;
23+
padding-right: 0.5rem;
2324
}
2425

2526
.full-width {

0 commit comments

Comments
 (0)