Skip to content

Commit 91acbde

Browse files
committed
PR feedback
1 parent e146a7c commit 91acbde

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

static/css/v3/code-block.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,19 @@
2727
background: var(--code-block-bg-grey);
2828
}
2929

30+
.code-block--grey-bg .code-block__copy {
31+
background: var(--code-block-bg-grey);
32+
}
33+
3034
.code-block--white-bg {
3135
background: var(--color-bg-secondary);
3236
border: 1px solid var(--code-block-border);
3337
}
3438

39+
.code-block--white-bg .code-block__copy {
40+
background: var(--color-bg-secondary);
41+
}
42+
3543
.code-block {
3644
position: relative;
3745
margin: 0;
@@ -185,7 +193,6 @@ html.dark .code-block-card--grey {
185193
padding: 0;
186194
border: none;
187195
border-radius: var(--border-radius-s);
188-
background: transparent;
189196
color: var(--code-block-copy-icon-color);
190197
cursor: pointer;
191198
display: inline-flex;
@@ -285,10 +292,6 @@ html.dark .code-block-card--grey {
285292
min-width: 0;
286293
}
287294

288-
.code-block-story-overflow-example {
289-
height: 300px;
290-
}
291-
292295
.code-block-story-section-title {
293296
margin: 0 0 var(--space-default);
294297
font-size: var(--font-size-large);

static/css/v3/v3-examples-section.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,3 +379,8 @@ html.dark .v3-examples-section__theme-toggle-sun {
379379
html.dark .v3-examples-section__theme-toggle-moon {
380380
display: none;
381381
}
382+
383+
/* Getting started care scroll logic */
384+
.code-block-story-overflow-example {
385+
height: 300px;
386+
}

0 commit comments

Comments
 (0)