Skip to content

Commit 804ee06

Browse files
Bikram GoleBikram Gole
authored andcommitted
Tighten snapshot panel sizing
1 parent 07f7c48 commit 804ee06

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

styles.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,22 @@ section {
11941194
scroll-margin-bottom: 6rem;
11951195
}
11961196

1197+
#cli-snapshot.panel {
1198+
background: transparent;
1199+
border: 0;
1200+
box-shadow: none;
1201+
padding: 0;
1202+
margin-top: 0.4rem;
1203+
max-width: 420px;
1204+
content-visibility: visible;
1205+
contain: none;
1206+
contain-intrinsic-size: auto;
1207+
}
1208+
1209+
#cli-snapshot .cli-window {
1210+
margin-top: 0;
1211+
}
1212+
11971213
.hero,
11981214
.panel {
11991215
border: 1px solid var(--border);
@@ -3262,16 +3278,16 @@ body[data-theme="paper"] .skeleton-line {
32623278
background: #0b0f17;
32633279
box-shadow: 0 10px 22px rgba(3, 6, 16, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
32643280
overflow: hidden;
3265-
width: min(100%, 440px);
3281+
width: min(100%, 380px);
32663282
}
32673283

32683284
.cli-block {
32693285
margin: 0;
3270-
padding: 0.42rem 0.62rem 0.46rem;
3286+
padding: 0.44rem 0.58rem 0.48rem;
32713287
background: #0a0f18;
32723288
font-family: "JetBrains Mono", "Fira Mono", "Menlo", "Consolas", "Courier New", monospace;
3273-
font-size: 0.7rem;
3274-
line-height: 1.4;
3289+
font-size: 0.78rem;
3290+
line-height: 1.38;
32753291
color: var(--ink);
32763292
white-space: pre-wrap;
32773293
border: 0;

0 commit comments

Comments
 (0)