Skip to content

Commit 037efbf

Browse files
authored
Merge branch 'main' into repo-sync
2 parents fea5399 + 8cef45c commit 037efbf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

includes/article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1 class="border-bottom-0">{{ page.title }}</h1>
4646
{% endif %}
4747

4848
{% if page.product %}
49-
<div class="product-callout border rounded-1 mb-4 p-3 color-border-info color-bg-info">
49+
<div class="product-callout border rounded-1 mb-4 p-3 color-border-success color-bg-success">
5050
{{ page.product }}
5151
</div>
5252
{% endif %}

tests/rendering/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ describe('server', () => {
191191
test('renders product frontmatter callouts', async () => {
192192
const $ = await getDOM('/en/articles/about-branch-restrictions')
193193
const note = $('.product-callout').eq(0)
194-
expect(note.hasClass('color-border-info')).toBe(true)
195-
expect(note.hasClass('color-bg-info')).toBe(true)
194+
expect(note.hasClass('color-border-success')).toBe(true)
195+
expect(note.hasClass('color-bg-success')).toBe(true)
196196
})
197197

198198
test('renders liquid within liquid within product frontmatter callouts', async () => {

0 commit comments

Comments
 (0)