File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1969,34 +1969,40 @@ body {
19691969 max-width : 900px ;
19701970 width : 90% ;
19711971 max-height : 85vh ;
1972- overflow-y : auto ;
1973- overflow-x : hidden ;
1972+ display : flex ;
1973+ flex-direction : column ;
19741974 position : relative;
19751975 animation : slideUp 0.3s ease;
19761976 box-shadow : var (--shadow-modal );
19771977 border : 1px solid var (--border-color );
19781978 margin : auto;
1979+ /* overflow removed to stop clipping */
19791980}
19801981
19811982.modal-close {
19821983 position : absolute;
1983- top : 1 rem ;
1984- right : 1 rem ;
1984+ top : 1.5 rem ;
1985+ right : 1.5 rem ;
19851986 background : var (--danger-color );
19861987 color : var (--on-accent );
19871988 border : none;
1988- width : 40 px ;
1989- height : 40 px ;
1989+ width : 36 px ;
1990+ height : 36 px ;
19901991 border-radius : 50% ;
19911992 font-size : 1.5rem ;
19921993 cursor : pointer;
19931994 transition : var (--transition );
1995+ z-index : 100 ; /* Forces button above inner content */
1996+ display : flex;
1997+ align-items : center;
1998+ justify-content : center;
1999+ line-height : 1 ;
2000+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.2 );
19942001}
19952002
19962003.modal-close : hover {
19972004 transform : scale (1.1 ) rotate (90deg );
19982005}
1999-
20002006/* ── reused section placeholder ── */
20012007
20022008/* Animations */
You can’t perform that action at this time.
0 commit comments