mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +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$',
 | 
			
		||||
  transform: {
 | 
			
		||||
    '^.+\\.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: [
 | 
			
		||||
    'node_modules/(?!(react-dnd|dnd-core|react-dnd-html5-backend)/)',
 | 
			
		||||
 | 
			
		||||
@ -7,10 +7,10 @@
 | 
			
		||||
import styled from 'styled-components';
 | 
			
		||||
 | 
			
		||||
const TrashButton = styled.div`
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  color: #4b515a;
 | 
			
		||||
  height: 24px;
 | 
			
		||||
  line-height: 24px;
 | 
			
		||||
  color: #4b515a;
 | 
			
		||||
  cursor: pointer;
 | 
			
		||||
  div,
 | 
			
		||||
  div + span {
 | 
			
		||||
    display: inline-block;
 | 
			
		||||
@ -30,8 +30,8 @@ const TrashButton = styled.div`
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  div + span {
 | 
			
		||||
    margin-right: 10px;
 | 
			
		||||
    display: none;
 | 
			
		||||
    margin-right: 10px;
 | 
			
		||||
  }
 | 
			
		||||
  :hover {
 | 
			
		||||
    color: #f64d0a;
 | 
			
		||||
 | 
			
		||||
@ -67,7 +67,6 @@ const FieldForm = ({
 | 
			
		||||
 | 
			
		||||
              return (
 | 
			
		||||
                <Input
 | 
			
		||||
                  data-testId="input"
 | 
			
		||||
                  inputDescription={
 | 
			
		||||
                    meta === 'mainField'
 | 
			
		||||
                      ? {
 | 
			
		||||
 | 
			
		||||
@ -39,6 +39,7 @@ const Li = styled.li`
 | 
			
		||||
  justify-content: space-between;
 | 
			
		||||
  height: 27px;
 | 
			
		||||
  background-color: transparent !important;
 | 
			
		||||
  margin-bottom: 9px;
 | 
			
		||||
 | 
			
		||||
  &:active {
 | 
			
		||||
    .dragHandle {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user