Skip to content

Commit 3eadacd

Browse files
fix: articele update
1 parent 0624f85 commit 3eadacd

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

assets/css/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2363,4 +2363,11 @@ section,
23632363
.navmenu {
23642364
margin-bottom: 24px;
23652365
}
2366+
}
2367+
2368+
/* Hide pipeline-visualization on mobile */
2369+
@media (max-width: 767.98px) {
2370+
.pipeline-visualization {
2371+
display: none !important;
2372+
}
23662373
}

css/style.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,57 @@
6565

6666
.cli-maximized .maximize-btn i {
6767
transform: rotate(180deg);
68+
}
69+
70+
/* Responsive styles for CLI */
71+
@media (max-width: 768px) {
72+
.advanced-cli,
73+
.cli-maximized {
74+
padding: 8px !important;
75+
font-size: 14px;
76+
border-radius: 0 !important;
77+
min-width: 0;
78+
width: 100vw !important;
79+
left: 0 !important;
80+
}
81+
.cli-maximized {
82+
height: 100vh !important;
83+
min-height: 100vh !important;
84+
max-height: 100vh !important;
85+
top: 0 !important;
86+
left: 0 !important;
87+
right: 0 !important;
88+
bottom: 0 !important;
89+
border-radius: 0 !important;
90+
padding: 8px !important;
91+
}
92+
.cli-maximized .cli-container {
93+
height: calc(100vh - 80px);
94+
padding: 8px;
95+
}
96+
.cli-maximized .cli-output {
97+
height: calc(100vh - 140px);
98+
font-size: 13px;
99+
}
100+
.maximize-btn {
101+
margin-left: 4px;
102+
padding: 4px;
103+
font-size: 14px;
104+
}
105+
}
106+
107+
/* Make CLI input and buttons more touch-friendly */
108+
@media (max-width: 576px) {
109+
.cli-input-line {
110+
padding: 6px 6px;
111+
font-size: 13px;
112+
}
113+
.cli-input {
114+
font-size: 13px;
115+
padding: 4px 2px;
116+
}
117+
.cli-maximized .cli-output {
118+
height: calc(100vh - 150px);
119+
font-size: 12px;
120+
}
68121
}

0 commit comments

Comments
 (0)