Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into dev_ysCha

This commit is contained in:
ysCha 2025-11-24 14:07:07 +09:00
commit 3d0df7bc58
2 changed files with 19 additions and 1 deletions

View File

@ -42,11 +42,14 @@ function WithDraggableHeader({ title, onClose, children }) {
return ( return (
<div className="modal-head modal-handle"> <div className="modal-head modal-handle">
<h1 className="title">{title}</h1> <h1 className="title">{title}</h1>
<div className='modal-btn-wrap'>
<button className='modal-fold act'></button>
{onClose && ( {onClose && (
<button className="modal-close" onClick={() => onClose()}> <button className="modal-close" onClick={() => onClose()}>
닫기 닫기
</button> </button>
)} )}
</div>
</div> </div>
) )
} }

View File

@ -133,8 +133,23 @@ $alert-color: #101010;
color: $pop-color; color: $pop-color;
font-weight: 700; font-weight: 700;
} }
.modal-close{ .modal-btn-wrap{
margin-left: auto; margin-left: auto;
display: flex;
align-items: center;
gap: 15px;
}
.modal-fold{
display: block;
width: 15px;
height: 15px;
background: url(../../public/static/images/canvas/penal_arr_white.svg)no-repeat center;
background-size: contain;
&.act{
transform: rotate(180deg);
}
}
.modal-close{
color: transparent; color: transparent;
font-size: 0; font-size: 0;
width: 10px; width: 10px;