아래와 같이 모달창 사용시 여백이 발생하는 문제가 생김
찾아본 결과 css파일의 body 부분에 아래와 같이 추가로 해결이 된다는데
body { padding-right: 0 !important; }
저같은 경우는 아래의 방법으로 해결했습니다. css 파일에 modal 부분에 다음과 같이 추가
.modal-open { padding-right: 0px !important; }
.modal { padding-right: 0px !important; }
ㅇ
'프로그래밍 > 스프링[Spring]' 카테고리의 다른 글
Input elements should have autocomplete attributes 모달 에러 해결 방법 (0) | 2023.10.17 |
---|---|
[스프링] com.google.common.io.BaseEncoding 에러 해결 (0) | 2023.02.18 |
[Spring] session 에 변수 저장하기 (0) | 2023.02.15 |
[스프링] 시큐리티 Access Denied 페이지 설정(자바, XML) (0) | 2023.02.15 |
[스프링] 자바 redirect 시 파라미터 전달하기 (0) | 2023.02.13 |