mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 16:29:18 +00:00
Merge branch 'front/ui-improvements' of github.com:strapi/strapi into front/ui-improvements
This commit is contained in:
commit
88b99ffe48
@ -2,9 +2,6 @@ import styled from 'styled-components';
|
|||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
.row {
|
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
${({ isFromDynamicZone }) => {
|
${({ isFromDynamicZone }) => {
|
||||||
if (isFromDynamicZone) {
|
if (isFromDynamicZone) {
|
||||||
|
@ -11,7 +11,6 @@ const FormWrapper = styled.div`
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
.row {
|
.row {
|
||||||
margin-bottom: 4px;
|
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
@ -163,16 +163,9 @@ const SettingsViewWrapper = ({
|
|||||||
return (
|
return (
|
||||||
<FormattedMessage key={input.name} id={input.label.id}>
|
<FormattedMessage key={input.name} id={input.label.id}>
|
||||||
{label => (
|
{label => (
|
||||||
<div
|
<div className={input.customBootstrapClass}>
|
||||||
className={input.customBootstrapClass}
|
|
||||||
style={{ marginBottom: 1 }}
|
|
||||||
>
|
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id={get(
|
id={get(input, 'description.id', 'app.utils.defaultMessage')}
|
||||||
input,
|
|
||||||
'description.id',
|
|
||||||
'app.utils.defaultMessage'
|
|
||||||
)}
|
|
||||||
>
|
>
|
||||||
{description => (
|
{description => (
|
||||||
<Input
|
<Input
|
||||||
@ -191,7 +184,7 @@ const SettingsViewWrapper = ({
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<div className="col-12">
|
<div className="col-12">
|
||||||
<Separator style={{ marginBottom: 23 }} />
|
<Separator style={{ marginBottom: 20 }} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<SectionTitle />
|
<SectionTitle />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user