Skip to content

Commit 384e3af

Browse files
committed
전체화면에서 ide 스클로바 2개 생기는 문제 수정
1 parent d66b47a commit 384e3af

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/components/ide/IDE.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
--footer-height: 60px;
2020
}
2121

22-
/* 다크 모드 스타일 */
2322
/* 다크 모드 스타일 */
2423
body.dark-mode {
2524
--primary: #7e57c2;
@@ -235,10 +234,6 @@ body.dark-mode .sidebar-toggle-button:hover {
235234
box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.1); /* 미세한 그림자 */
236235
}
237236

238-
/* 호버 시 각 선에 다른 애니메이션 */
239-
240-
241-
242237
/* 사이드바 토글 버튼 스타일 제거 */
243238
.sidebar-toggle {
244239
display: none;
@@ -280,6 +275,7 @@ body.dark-mode .sidebar-toggle-button:hover {
280275
background-color: var(--bg);
281276
height: 100vh; /* 전체 높이로 변경 */
282277
min-width: 0; /* 추가: 콘텐츠가 줄어들 수 있도록 */
278+
padding-top: 76px; /* 메인 Header.css의 높이만큼 패딩 추가 */
283279
}
284280

285281
/* 사이드바가 축소되었을 때 메인 콘텐츠가 왼쪽으로 확장되도록 함 */
@@ -490,7 +486,7 @@ body.dark-mode .signup-button.auth-button:hover {
490486
z-index: 50;
491487
height: var(--header-height);
492488
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
493-
margin-top: var(--header-height); /* 헤더 높이만큼 아래로 */
489+
/* margin-top 제거 */
494490
}
495491

496492
.header-left {
@@ -567,10 +563,10 @@ body.dark-mode .save-button:hover {
567563
color: var(--success);
568564
}
569565

570-
/* 새로운 레이아웃 스타일 */
566+
/* 새로운 레이아웃 스타일 - 보수적 높이 계산 */
571567
.content-layout {
572568
display: flex;
573-
height: calc(100vh - var(--header-height) * 2); /* 헤더 2개 높이 제외 */
569+
height: calc(100vh - 150px); /* 여유 공간 확보 */
574570
position: relative;
575571
}
576572

0 commit comments

Comments
 (0)