dash fixes

This commit is contained in:
priyanshuvish
2024-10-04 20:01:32 +05:30
parent 2aefaced23
commit 0c6c5cd893
3 changed files with 8 additions and 7 deletions

View File

@@ -58,9 +58,10 @@ const BrandVoucherTable = () => {
flexDirection="column"
bgColor="#FFFFFF"
p={4}
alignItems="center"
alignItems="start"
rounded={"md"}
>
<Text fontSize="medium" fontWeight={600}>
<Text fontSize="medium" fontWeight={600} >
Select employee
</Text>
<FileUploader />
@@ -86,6 +87,7 @@ const BrandVoucherTable = () => {
bgColor="#FFFFFF"
p={4}
w="100%"
rounded={"md"}
>
<RadioGroup onChange={setSelectedValue} value={selectedValue}>
<Stack spacing={4} direction="row">

View File

@@ -191,7 +191,7 @@ const BuyVoucher = () => {
p={4}
overflowX={"scroll"}
>
<Box p={4} bgColor="#FFFFFF" boxShadow="md" w="100%" mb={4}>
<Box p={4} bgColor="#FFFFFF" boxShadow="md" w="100%" mb={4} rounded={"md"}>
<Text color="#222222" fontWeight={600} fontSize="small">
Choose from popular brand
</Text>
@@ -207,7 +207,7 @@ const BuyVoucher = () => {
</Box>
</Box>
<Box p={4} bgColor="#FFFFFF" boxShadow="md" w="100%" h="100%">
<Box p={4} bgColor="#FFFFFF" boxShadow="md" w="100%" h="100%" rounded={"md"}>
<Text color="#222222" fontSize="small" fontWeight={600}>
Shop by category
</Text>
@@ -224,7 +224,7 @@ const BuyVoucher = () => {
{/* Mapping through tabData to create tab panels */}
<TabPanels>
{tabData.map((tab, index) => (
<TabPanel key={index}>
<TabPanel key={index} px={0}>
<p>{tab.content}</p>
</TabPanel>
))}
@@ -237,7 +237,6 @@ const BuyVoucher = () => {
px="3rem"
_hover={{ bgColor: "#6311CB" }}
onClick={handleProceed}
mt={"3rem"}
>
Proceed to add
</Button>

View File

@@ -307,7 +307,7 @@ const Employees = () => {
alignItems="center"
gap={4}
>
<Text> 10,000</Text>
<Text mb={0}> 10,000</Text>
<Button bgColor="#6311CB" color="white" onClick={onModalOpen}>
Proceed
</Button>