style: 관리자 - 위원회 코드관리 디자인 변경

thkim
thkim 2024-03-04 10:12:27 +09:00
parent 2c7604f3fa
commit 3a8f9f700e
2 changed files with 8 additions and 3 deletions

View File

@ -115,13 +115,15 @@ function ListCreateUpdateDelete(props) {
</Grid>
</Typography>
<Demo>
<List dense={false} sx={{ px: 0, '&': { height: '253px', overflowY: 'auto'}}}>
<List dense={false} sx={{ px: 0, '&': { minHeight: '315px', height: '650px', overflowY: 'auto'}}}>
{generate(
props.items,
<ListItem
secondaryAction={
<div>
<IconButton sx={{ mx: 0 }} edge="start" aria-label="edit" onClick={(e)=> {alert('수정 클릭')}}>
<IconButton sx={{ mx: 0 }} edge="start" aria-label="edit" onClick={(e)=> {
props.setIsPopupOpen(true);
}}>
<EditIcon />
</IconButton>
<IconButton edge="end" aria-label="delete" onClick={(e)=> {

View File

@ -30,6 +30,9 @@ function CommitteeCodeMgt(props) {
const [confirm, setConfirm] = React.useState();
const [editCreateMode, setEditCreateMode] = React.useState(); // or
// .
const [isCommitteeCodeRegistrationPopupOpen, setIsCommitteeCodeRegistrationPopupOpen] = React.useState(false);
@ -324,7 +327,7 @@ function CommitteeCodeMgt(props) {
/>
</Box>
{ true &&
{ false &&
<Box
sx={{
display: 'flex',