Content manager multiple select li ui

This commit is contained in:
Virginie Ky 2019-08-28 16:57:44 +02:00
parent cb35d6e80a
commit 5e0bec57d9
4 changed files with 4 additions and 6 deletions

View File

@ -40,8 +40,6 @@ module.exports = {
testRegex: 'tests/.*\\.test\\.js$', testRegex: 'tests/.*\\.test\\.js$',
transform: { transform: {
'^.+\\.js$': 'babel-jest', '^.+\\.js$': 'babel-jest',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
'<rootDir>/fileTransformer.js',
}, },
transformIgnorePatterns: [ transformIgnorePatterns: [
'node_modules/(?!(react-dnd|dnd-core|react-dnd-html5-backend)/)', 'node_modules/(?!(react-dnd|dnd-core|react-dnd-html5-backend)/)',

View File

@ -7,10 +7,10 @@
import styled from 'styled-components'; import styled from 'styled-components';
const TrashButton = styled.div` const TrashButton = styled.div`
cursor: pointer;
color: #4b515a;
height: 24px; height: 24px;
line-height: 24px; line-height: 24px;
color: #4b515a;
cursor: pointer;
div, div,
div + span { div + span {
display: inline-block; display: inline-block;
@ -30,8 +30,8 @@ const TrashButton = styled.div`
} }
} }
div + span { div + span {
margin-right: 10px;
display: none; display: none;
margin-right: 10px;
} }
:hover { :hover {
color: #f64d0a; color: #f64d0a;

View File

@ -67,7 +67,6 @@ const FieldForm = ({
return ( return (
<Input <Input
data-testId="input"
inputDescription={ inputDescription={
meta === 'mainField' meta === 'mainField'
? { ? {

View File

@ -39,6 +39,7 @@ const Li = styled.li`
justify-content: space-between; justify-content: space-between;
height: 27px; height: 27px;
background-color: transparent !important; background-color: transparent !important;
margin-bottom: 9px;
&:active { &:active {
.dragHandle { .dragHandle {