mirror of
https://github.com/strapi/strapi.git
synced 2025-11-14 09:07:59 +00:00
Content manager multiple select li ui
This commit is contained in:
parent
cb35d6e80a
commit
5e0bec57d9
@ -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)/)',
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -67,7 +67,6 @@ const FieldForm = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Input
|
<Input
|
||||||
data-testId="input"
|
|
||||||
inputDescription={
|
inputDescription={
|
||||||
meta === 'mainField'
|
meta === 'mainField'
|
||||||
? {
|
? {
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user