Merge branch 'front/ui-improvements' of github.com:strapi/strapi into front/ui-improvements

This commit is contained in:
Virginie Ky 2020-03-23 08:32:52 +01:00
commit 88b99ffe48
4 changed files with 595 additions and 533 deletions

View File

@ -2,9 +2,6 @@ import styled from 'styled-components';
const Wrapper = styled.div`
position: relative;
.row {
margin-bottom: 4px;
}
${({ isFromDynamicZone }) => {
if (isFromDynamicZone) {

View File

@ -11,7 +11,6 @@ const FormWrapper = styled.div`
margin-left: 0;
}
.row {
margin-bottom: 4px;
&:last-of-type {
margin-bottom: 0;
}

View File

@ -163,16 +163,9 @@ const SettingsViewWrapper = ({
return (
<FormattedMessage key={input.name} id={input.label.id}>
{label => (
<div
className={input.customBootstrapClass}
style={{ marginBottom: 1 }}
>
<div className={input.customBootstrapClass}>
<FormattedMessage
id={get(
input,
'description.id',
'app.utils.defaultMessage'
)}
id={get(input, 'description.id', 'app.utils.defaultMessage')}
>
{description => (
<Input
@ -191,7 +184,7 @@ const SettingsViewWrapper = ({
);
})}
<div className="col-12">
<Separator style={{ marginBottom: 23 }} />
<Separator style={{ marginBottom: 20 }} />
</div>
</div>
<SectionTitle />

1111
yarn.lock

File diff suppressed because it is too large Load Diff