review ip

This commit is contained in:
Virginie Ky 2019-10-17 13:46:39 +02:00
parent 75bd60162a
commit c4886d7936
6 changed files with 13 additions and 7 deletions

View File

@ -14,7 +14,7 @@ const StyledPluginHeaderActions = styled.div`
padding-top: 1rem;
button {
margin-right: 0;
margin-left: 1.8rem;
margin-left: 1rem;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;

View File

@ -5,8 +5,11 @@ const Wrapper = styled.div`
> div {
padding-top: 2px;
&:not(:first-of-type) {
padding-top: 18px;
padding-top: 9px;
padding-bottom: 2px;
&:last-of-type:nth-of-type(even) {
padding-bottom: 11px;
}
}
}
`;

View File

@ -109,7 +109,7 @@ function FilterPicker({
return (
<Collapse isOpen={isOpen} onEntering={handleEntering}>
<Container style={{ backgroundColor: 'white' }}>
<Container style={{ backgroundColor: 'white', paddingBottom: 0 }}>
<form
onSubmit={e => {
e.preventDefault();

View File

@ -25,7 +25,6 @@ const Card = styled.div`
display: inline-block;
height: 20px;
width: 35px;
margin-top: -3px;
margin-right: 10px;
}
@ -36,11 +35,13 @@ const Card = styled.div`
font-style: italic;
font-weight: 400;
-webkit-font-smoothing: antialiased;
margin-top: auto;
margin-bottom: auto;
line-height: normal;
&:last-child {
text-overflow: ellipsis;
overflow: hidden;
line-height: normal;
}
}
`;

View File

@ -190,7 +190,7 @@ class AttributesPickerModal extends React.Component {
</HeaderModalTitle>
</section>
</HeaderModal>
<ModalBody style={{ paddingTop: '0.4rem', paddingBottom: '3rem' }}>
<ModalBody style={{ paddingTop: '0.5rem', paddingBottom: '3rem' }}>
{attributes.map(this.renderAttribute)}
</ModalBody>
<ModalFooter />

View File

@ -1,8 +1,10 @@
import styled from 'styled-components';
import { colors } from 'strapi-helper-plugin';
const Wrapper = styled.div`
min-height: calc(100vh - 6rem);
background: rgba(14, 22, 34, 0.02);
background: ${colors.lightGrey};
`;
export default Wrapper;