mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Merge pull request #12464 from strapi/hotfix/ctb-add-component-typo
DynamicZoneList: fix cta typography
This commit is contained in:
commit
c106d19dd5
@ -80,7 +80,7 @@ function DynamicZoneList({ customRowComponent, components, addComponent, name, t
|
||||
<button type="button" onClick={handleClickAdd}>
|
||||
<ComponentStack size={1}>
|
||||
<StyledAddIcon />
|
||||
<Typography varian="pi" fontWeight="bold" textColor="primary600">
|
||||
<Typography variant="pi" fontWeight="bold" textColor="primary600">
|
||||
{formatMessage({
|
||||
id: getTrad('button.component.add'),
|
||||
formatMessage: 'Add a component',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
.c81 {
|
||||
.c80 {
|
||||
border: 0;
|
||||
-webkit-clip: rect(0 0 0 0);
|
||||
clip: rect(0 0 0 0);
|
||||
@ -566,24 +566,24 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.c72 {
|
||||
.c71 {
|
||||
background: #eaeaef;
|
||||
}
|
||||
|
||||
.c74 {
|
||||
.c73 {
|
||||
background: #f0f0ff;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.c77 {
|
||||
.c76 {
|
||||
background: #d9d8ff;
|
||||
}
|
||||
|
||||
.c79 {
|
||||
.c78 {
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.c76 {
|
||||
.c75 {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
@ -597,20 +597,20 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.c73 {
|
||||
.c72 {
|
||||
height: 1px;
|
||||
border: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.c80 {
|
||||
.c79 {
|
||||
font-weight: 600;
|
||||
color: #4945ff;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.c78 {
|
||||
.c77 {
|
||||
height: 1.5rem;
|
||||
width: 1.5rem;
|
||||
border-radius: 50%;
|
||||
@ -628,16 +628,16 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.c78 svg {
|
||||
.c77 svg {
|
||||
height: 0.625rem;
|
||||
width: 0.625rem;
|
||||
}
|
||||
|
||||
.c78 svg path {
|
||||
.c77 svg path {
|
||||
fill: #4945ff;
|
||||
}
|
||||
|
||||
.c75 {
|
||||
.c74 {
|
||||
border-radius: 0 0 4px 4px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
@ -675,8 +675,8 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
.c57 {
|
||||
font-weight: 600;
|
||||
color: #4945ff;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.43;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.c64 {
|
||||
@ -690,13 +690,6 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.c71 {
|
||||
font-weight: 600;
|
||||
color: #4945ff;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.c5 {
|
||||
color: #4945ff;
|
||||
font-weight: 600;
|
||||
@ -4025,7 +4018,7 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
class="c48"
|
||||
>
|
||||
<span
|
||||
class="c28 c71"
|
||||
class="c28 c57"
|
||||
>
|
||||
Add another field to this component
|
||||
</span>
|
||||
@ -4847,7 +4840,7 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
class="c48"
|
||||
>
|
||||
<span
|
||||
class="c28 c71"
|
||||
class="c28 c57"
|
||||
>
|
||||
Add another field to this component
|
||||
</span>
|
||||
@ -6106,7 +6099,7 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
class="c48"
|
||||
>
|
||||
<span
|
||||
class="c28 c71"
|
||||
class="c28 c57"
|
||||
>
|
||||
Add another field to this component
|
||||
</span>
|
||||
@ -6547,7 +6540,7 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
class="c48"
|
||||
>
|
||||
<span
|
||||
class="c28 c71"
|
||||
class="c28 c57"
|
||||
>
|
||||
Add another field to this component
|
||||
</span>
|
||||
@ -6568,17 +6561,17 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
</div>
|
||||
<div>
|
||||
<hr
|
||||
class="c72 c73"
|
||||
class="c71 c72"
|
||||
/>
|
||||
<button
|
||||
class="c74 c75"
|
||||
class="c73 c74"
|
||||
>
|
||||
<div
|
||||
class="c76"
|
||||
class="c75"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
class="c77 c78"
|
||||
class="c76 c77"
|
||||
>
|
||||
<svg
|
||||
fill="none"
|
||||
@ -6594,10 +6587,10 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
</svg>
|
||||
</div>
|
||||
<div
|
||||
class="c79"
|
||||
class="c78"
|
||||
>
|
||||
<span
|
||||
class="c80"
|
||||
class="c79"
|
||||
>
|
||||
Add another field to this collection type
|
||||
</span>
|
||||
@ -6610,7 +6603,7 @@ exports[`<ListView /> renders and matches the snapshot 1`] = `
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="c81"
|
||||
class="c80"
|
||||
>
|
||||
<p
|
||||
aria-live="polite"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user