mirror of
https://github.com/strapi/strapi.git
synced 2025-08-13 19:27:34 +00:00
review ip
This commit is contained in:
parent
75bd60162a
commit
c4886d7936
@ -14,7 +14,7 @@ const StyledPluginHeaderActions = styled.div`
|
|||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
button {
|
button {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 1.8rem;
|
margin-left: 1rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -5,8 +5,11 @@ const Wrapper = styled.div`
|
|||||||
> div {
|
> div {
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
&:not(:first-of-type) {
|
&:not(:first-of-type) {
|
||||||
padding-top: 18px;
|
padding-top: 9px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
|
&:last-of-type:nth-of-type(even) {
|
||||||
|
padding-bottom: 11px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -109,7 +109,7 @@ function FilterPicker({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Collapse isOpen={isOpen} onEntering={handleEntering}>
|
<Collapse isOpen={isOpen} onEntering={handleEntering}>
|
||||||
<Container style={{ backgroundColor: 'white' }}>
|
<Container style={{ backgroundColor: 'white', paddingBottom: 0 }}>
|
||||||
<form
|
<form
|
||||||
onSubmit={e => {
|
onSubmit={e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
@ -25,7 +25,6 @@ const Card = styled.div`
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 35px;
|
width: 35px;
|
||||||
margin-top: -3px;
|
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,11 +35,13 @@ const Card = styled.div`
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
margin-top: auto;
|
||||||
|
margin-bottom: auto;
|
||||||
|
line-height: normal;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
line-height: normal;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -190,7 +190,7 @@ class AttributesPickerModal extends React.Component {
|
|||||||
</HeaderModalTitle>
|
</HeaderModalTitle>
|
||||||
</section>
|
</section>
|
||||||
</HeaderModal>
|
</HeaderModal>
|
||||||
<ModalBody style={{ paddingTop: '0.4rem', paddingBottom: '3rem' }}>
|
<ModalBody style={{ paddingTop: '0.5rem', paddingBottom: '3rem' }}>
|
||||||
{attributes.map(this.renderAttribute)}
|
{attributes.map(this.renderAttribute)}
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter />
|
<ModalFooter />
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
|
import { colors } from 'strapi-helper-plugin';
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
min-height: calc(100vh - 6rem);
|
min-height: calc(100vh - 6rem);
|
||||||
background: rgba(14, 22, 34, 0.02);
|
background: ${colors.lightGrey};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default Wrapper;
|
export default Wrapper;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user