Skip to content

Commit

Permalink
cambios de detalles
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusLeonChavez committed Aug 8, 2021
1 parent ee51148 commit 4e91214
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
23 changes: 9 additions & 14 deletions sections/ShowChat/Chat.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Box,
// Button,
Flex,
Text,
Tabs,
Expand All @@ -23,12 +22,12 @@ export default function Chat() {
mt="10"
mb="10"
display="flex"
w="1100px"
h="1000px"
w="1102px"
h="998px"
border="3px solid #DBD9DC"
>
<Tabs align="center" orientation="vertical" variant="unstyled" isLazy>
<Box w="300px" border="3px solid #DBD9DC">
<Box w="300px" border="1px solid #DBD9DC">
<TabList>
<Text ml="5" p="4" align="start" color="#482F51" fontSize="25">
Chats
Expand All @@ -46,8 +45,8 @@ export default function Chat() {
))}
</TabList>
</Box>
<Box w="800px" border="3px solid #DBD9DC">
<Box h="50px" border="3px solid #DBD9DC">
<Box w="799px" border="1px solid #DBD9DC">
<Box h="50px" border="1px solid #DBD9DC">
<TabPanels>
{[1, 2, 3].map((userNameElemnt, idx) => (
// eslint-disable-next-line react/jsx-key
Expand All @@ -57,7 +56,7 @@ export default function Chat() {
))}
</TabPanels>
</Box>
<Box h="650px" border="3px solid #DBD9DC">
<Box h="650px" border="1px solid #DBD9DC">
<TabPanels>
{[1, 2, 3].map((messageElemnt, idx) => (
// eslint-disable-next-line react/jsx-key
Expand All @@ -67,15 +66,15 @@ export default function Chat() {
))}
</TabPanels>
</Box>
<Box h="200px" border="3px solid #DBD9DC">
<Box h="200px" border="1px solid #DBD9DC">
<Messages />
</Box>
<Flex
bg="#F2F2F2"
justify="start"
direction="column"
h="90px"
border="3px solid #DBD9DC"
h="91px"
border="1px solid #DBD9DC"
>
<Flex
padding="4"
Expand All @@ -94,10 +93,6 @@ export default function Chat() {
width="1xs"
showModalButtonText="Cotizar"
/>
{/* <Button variant="primary" p={4} color="white">
<ModalNewQuote />
Cotizar
</Button> */}
</Flex>
<ZIcon name="buttonRight" pointer size={40} />
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion sections/ShowChat/Messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FormControl, Textarea } from "@chakra-ui/react"
export default function Messages() {
return (
<FormControl id="email">
<Textarea h="195px" w="795px" placeholder="Escribe un mensaje" />
<Textarea h="200px" w="795px" placeholder="Escribe un mensaje" />
</FormControl>
)
}
4 changes: 2 additions & 2 deletions sections/ShowChat/UsersName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Box, Text, Flex } from "@chakra-ui/react"
export default function UsersName() {
return (
<Box>
<Flex color="gray" align="center" py="1" minW="80">
<Text align="start" color="#482F51" fontSize="20">
<Flex align="center">
<Text align="start" color="#482F51" fontSize="15">
Lucy León
</Text>
</Flex>
Expand Down

0 comments on commit 4e91214

Please sign in to comment.