Skip to content

Commit

Permalink
fix : view 크기 변경시 테이블 중앙 위치하게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HwangHarim committed Jul 18, 2024
1 parent 0e66bd2 commit 45a6a05
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
30 changes: 17 additions & 13 deletions src/main/resources/static/css/shortener/access_shortcode.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
/*html, body {*/
/* height: 100%;*/
/* margin: 0;*/
/* background-color: #f8f9fa;*/
/*}*/
html, body {
height: 100%;
margin: 0;
background-color: #f8f9fa;
}

/*.container {*/
/* position: fixed;*/
/* top: 15%;*/
/* left: 50%;*/
/* transform: translate(-50%, -50%);*/
/* width: calc(100% - 250px);*/
/* padding: 40px;*/
/*}*/
.container {
position: absolute;
top: calc(50% + 50px); /* header와 일정한 간격을 유지하도록 위치 조정 */
left: calc(50% + 125px); /* sidebar의 너비(250px)의 반을 더한 값 */
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: calc(100% - 300px); /* 양쪽 여백 50px씩 추가 */
max-width: 800px;
min-width: 300px;
}
30 changes: 17 additions & 13 deletions src/main/resources/static/css/shortener/system_action_log_board.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
/*html, body {*/
/* height: 100%;*/
/* margin: 0;*/
/* background-color: #f8f9fa;*/
/*}*/
html, body {
height: 100%;
margin: 0;
background-color: #f8f9fa;
}

/*.container {*/
/* position: fixed;*/
/* top: 15%;*/
/* left: 50%;*/
/* transform: translate(-50%, -50%);*/
/* width: calc(100% - 250px);*/
/* padding: 40px;*/
/*}*/
.container {
position: absolute;
top: calc(50% + 50px); /* header와 일정한 간격을 유지하도록 위치 조정 */
left: calc(50% + 125px); /* sidebar의 너비(250px)의 반을 더한 값 */
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: calc(100% - 300px); /* 양쪽 여백 50px씩 추가 */
max-width: 1800px;
min-width: 300px;
}

0 comments on commit 45a6a05

Please sign in to comment.