Skip to content

Commit a3124bf

Browse files
author
molty3000
committed
fix(landing): left-align carousel code snippets
1 parent 28a087d commit a3124bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@
123123
}
124124
.use-icon .u-emoji { font-size: 28px; }
125125
.use-icon .u-label { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 600; }
126-
.use-body { min-width: 0; }
126+
.use-body { min-width: 0; text-align: left; }
127127
.use-body h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
128128
.use-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 12px; }
129129
.use-body .use-code {
130130
font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary);
131131
background: #111113; border: 1px solid var(--border-subtle);
132132
border-radius: var(--radius-sm); padding: 10px 14px;
133-
white-space: pre; overflow-x: auto;
133+
white-space: pre; overflow-x: auto; text-align: left;
134134
}
135135
.use-body .use-code .kw { color: #c792ea; }
136136
.use-body .use-code .fn { color: #82aaff; }

0 commit comments

Comments
 (0)