mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 13:55:20 +00:00
Fix select description
This commit is contained in:
parent
fc1cbbd753
commit
ee9af6c0d3
@ -26,6 +26,9 @@
|
|||||||
},
|
},
|
||||||
"very_long_description": {
|
"very_long_description": {
|
||||||
"type": "richtext"
|
"type": "richtext"
|
||||||
|
},
|
||||||
|
"category": {
|
||||||
|
"model": "category"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -122,6 +122,10 @@ const Nav = styled.nav`
|
|||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
margin-top: -5px;
|
margin-top: -5px;
|
||||||
|
max-width: 100%;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@ -182,6 +182,7 @@ const EditSettingsView = ({
|
|||||||
delete body.schema;
|
delete body.schema;
|
||||||
delete body.uid;
|
delete body.uid;
|
||||||
delete body.isComponent;
|
delete body.isComponent;
|
||||||
|
delete body.category;
|
||||||
|
|
||||||
await request(getRequestUrl(`${type}/${slug || componentSlug}`), {
|
await request(getRequestUrl(`${type}/${slug || componentSlug}`), {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user