File tree Expand file tree Collapse file tree 3 files changed +46
-5
lines changed
Expand file tree Collapse file tree 3 files changed +46
-5
lines changed Original file line number Diff line number Diff line change 109109
110110/* ========== Dark Mode Overrides ========== */
111111
112+ /* 🟢 수정: CodeEditor 루트 배경을 #1c1c1c로 설정 */
112113.dark-mode .code-editor {
113- background-color : # 0f0f1a ;
114+ background-color : # 1c1c1c ;
114115 color : # fff ;
115116}
116117
118+ /* 🟢 수정: Monaco Editor 내부 요소의 배경색을 #1c1c1c로 강제 적용 */
119+ .dark-mode .monaco-editor ,
120+ .dark-mode .monaco-editor .lines-content ,
121+ .dark-mode .monaco-editor .view-overlays ,
122+ .dark-mode .monaco-editor .scroll-decoration {
123+ background-color : # 1c1c1c !important ;
124+ }
125+
126+ /* 🟢 수정: Gutter(라인 번호 영역) 및 내부 마진 배경도 #1c1c1c로 맞춤 */
127+ .dark-mode .monaco-editor .monaco-editor-background ,
128+ .dark-mode .monaco-editor .margin {
129+ background-color : # 1c1c1c !important ;
130+ }
131+
132+ /* ✅ 추가: 라인 번호 색상을 흰색으로 설정 */
133+ .dark-mode .monaco-editor .line-numbers {
134+ color : # ffffff !important ;
135+ }
136+
137+
117138.dark-mode .current-user-badge {
118139 background-color : # 222 ;
119140 color : # fff ;
Original file line number Diff line number Diff line change 8181 border-left : 1px solid rgba (255 , 255 , 255 , 0.06 );
8282}
8383
84+ /* 🟢 수정/추가: CodeEditor의 루트 배경을 다크 모드에 맞게 설정 */
85+ /* CodeEditor 내 Monaco 테마와 별개로, CodeEditor 컴포넌트의 루트 요소에 적용 */
86+ .dark-mode .code-editor {
87+ background-color : # 0f0f1a ;
88+ color : # fff ;
89+ }
90+
91+
8492.dark-mode .plus-button {
8593 background : # 3a2a55 ;
8694 box-shadow : 0 6px 16px rgba (0 , 0 , 0 , 0.35 );
Original file line number Diff line number Diff line change 11.demo-section {
2- height : 100vh ;
2+ /* height: 100vh; 제거: 콘텐츠 크기에 따라 유동적으로 높이를 가져가도록 변경 */
33 display : flex;
44 flex-direction : column;
55 justify-content : center;
88 text-align : center;
99 padding : 3rem ;
1010 box-sizing : border-box;
11+ /* ✅ 추가: 최소 높이를 뷰포트 높이로 설정하여 전체 화면을 사용하되, 내용이 넘치면 스크롤 가능하게 함 */
12+ min-height : 100vh ;
1113}
1214
1315.demo-title {
2325}
2426
2527.demo-content {
28+ /* ✅ 수정: flex-wrap 제거 또는 flex-wrap: nowrap; 설정. (기존 flex-wrap: wrap; 대신) */
2629 display : flex;
2730 gap : 32px ;
2831 justify-content : center;
29- flex-wrap : wrap;
32+ /* flex-wrap: wrap; // 제거하여 한 줄에 강제 배치 */
33+ flex-wrap : nowrap;
34+ /* ✅ 추가: 내용이 가운데에 정렬되도록 최대 너비 확보 (선택 사항) */
35+ width : 100% ;
36+ max-width : 1400px ; /* 전체 너비를 제한하여 너무 커지는 것을 방지 */
37+
3038}
3139
3240.demo-box {
33- width : 640px ; /* 더 크게 */
41+ /* ✅ 수정: 너비를 줄여 한 줄에 들어갈 수 있도록 조정 (640px -> 480px 또는 그 이하) */
42+ width : 480px ;
3443 height : 400px ;
3544 padding : 24px ;
3645 border-radius : 16px ;
4049 display : flex;
4150 align-items : center;
4251 justify-content : center;
52+
53+ /* flex-shrink: 0; 를 추가하면 박스가 줄어들지 않고 고정 너비를 유지하려 함 */
54+ flex-shrink : 0 ;
4355}
4456
4557.placeholder-box strong {
6476
6577.dark-mode .placeholder-box strong {
6678 color : # bbb ;
67- }
79+ }
You can’t perform that action at this time.
0 commit comments