2
0

feat(editor): 💄 UI bump

This commit is contained in:
Baptiste Arnaud
2022-03-31 09:49:23 +02:00
parent c7d5373127
commit 7f5d2f4173
16 changed files with 105 additions and 48 deletions

View File

@ -171,12 +171,13 @@ export const StepNode = ({
userSelect="none"
p="3"
borderWidth="1px"
borderColor={isConnecting || isOpened ? 'blue.400' : 'gray.300'}
borderColor={isConnecting || isOpened ? 'blue.400' : 'gray.200'}
rounded="lg"
cursor={'pointer'}
bgColor="white"
bgColor="gray.50"
align="flex-start"
w="full"
transition="border-color 0.2s"
>
<StepIcon
type={step.type}
@ -197,8 +198,8 @@ export const StepNode = ({
stepId: step.id,
}}
pos="absolute"
right="15px"
bottom="18px"
right="-34px"
bottom="10px"
/>
)}
</HStack>

View File

@ -103,7 +103,7 @@ export const TextBubbleEditor = ({ initialValue, onClose }: Props) => {
flex="1"
ref={textEditorRef}
borderWidth="2px"
borderColor="blue.500"
borderColor="blue.400"
rounded="md"
onMouseDown={handleMouseDown}
pos="relative"