feat: set height to auto

This commit is contained in:
karishmas6
2024-10-19 09:00:01 +05:30
parent c80dfa182d
commit a8aa3846fc

View File

@@ -5,8 +5,9 @@ import { Typography, FormControlLabel, Checkbox, Box } from '@mui/material';
const CustomBoxContainer = styled.div`
position: relative;
width: 300px; /* Adjust width as needed */
height: 200px; /* Adjust height as needed */
width: 300px;
min-height: 100px;
height: auto;
border: 2px solid #ff00c3;
background-color: white;
margin: 30px auto;
@@ -14,7 +15,7 @@ const CustomBoxContainer = styled.div`
const Triangle = styled.div`
position: absolute;
top: -20px; /* Adjust this value to control the height of the triangle */
top: -20px;
left: 50%;
transform: translateX(-50%);
width: 0;