mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 17:58:07 +00:00
review ip
This commit is contained in:
parent
75bd60162a
commit
c4886d7936
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -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 />
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user