hide order buttons on mobile event types (#1421)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
		
							parent
							
								
									592dcd36b3
								
							
						
					
					
						commit
						46df4c048e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -126,12 +126,12 @@ const EventTypeList = ({ readOnly, types, profile }: EventTypeListProps): JSX.El
 | 
				
			||||||
              )}>
 | 
					              )}>
 | 
				
			||||||
              <div className="flex items-center justify-between w-full px-4 py-4 group sm:px-6 hover:bg-neutral-50">
 | 
					              <div className="flex items-center justify-between w-full px-4 py-4 group sm:px-6 hover:bg-neutral-50">
 | 
				
			||||||
                <button
 | 
					                <button
 | 
				
			||||||
                  className="absolute mb-8 left-1/2 -ml-4 sm:ml-0 sm:left-[19px] border hover:border-transparent text-gray-400 transition-all hover:text-black hover:shadow group-hover:scale-100 scale-0 w-7 h-7 p-1 invisible group-hover:visible bg-white rounded-full"
 | 
					                  className="hidden sm:block absolute mb-8 left-1/2 -ml-4 sm:ml-0 sm:left-[19px] border hover:border-transparent text-gray-400 transition-all hover:text-black hover:shadow group-hover:scale-100 scale-0 w-7 h-7 p-1 invisible group-hover:visible bg-white rounded-full"
 | 
				
			||||||
                  onClick={() => moveEventType(index, -1)}>
 | 
					                  onClick={() => moveEventType(index, -1)}>
 | 
				
			||||||
                  <ArrowUpIcon />
 | 
					                  <ArrowUpIcon />
 | 
				
			||||||
                </button>
 | 
					                </button>
 | 
				
			||||||
                <button
 | 
					                <button
 | 
				
			||||||
                  className="absolute mt-8 left-1/2 -ml-4 sm:ml-0 sm:left-[19px] border hover:border-transparent text-gray-400 transition-all hover:text-black hover:shadow group-hover:scale-100 scale-0 w-7 h-7 p-1 invisible group-hover:visible bg-white rounded-full"
 | 
					                  className="hidden sm:block absolute mt-8 left-1/2 -ml-4 sm:ml-0 sm:left-[19px] border hover:border-transparent text-gray-400 transition-all hover:text-black hover:shadow group-hover:scale-100 scale-0 w-7 h-7 p-1 invisible group-hover:visible bg-white rounded-full"
 | 
				
			||||||
                  onClick={() => moveEventType(index, 1)}>
 | 
					                  onClick={() => moveEventType(index, 1)}>
 | 
				
			||||||
                  <ArrowDownIcon />
 | 
					                  <ArrowDownIcon />
 | 
				
			||||||
                </button>
 | 
					                </button>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue