1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Revert "Upgrade Primer CSS to 16 (#18713)"

This reverts commit 49377f9096.
This commit is contained in:
Mike Surowiec
2021-04-13 09:19:28 -07:00
parent 5e5d72f727
commit c01d3e302e
76 changed files with 341 additions and 344 deletions

View File

@@ -98,9 +98,9 @@ describe('liquid helper tags', () => {
const template = '{% link_as_article_card /contributing-and-collaborating-using-github-desktop %}'
const expected = `<div class="d-flex col-12 col-md-4 pr-0 pr-md-6 pr-lg-8 <display condition> js-filter-card" data-type="" data-topics="">
<a class="no-underline d-flex flex-column py-3 border-bottom" href="/en/desktop/contributing-and-collaborating-using-github-desktop">
<h4 class="h4 color-text-primary mb-1">Contributing and collaborating using GitHub Desktop</h4>
<div class="h6 text-uppercase"></div>
<p class="color-text-secondary my-3">Use GitHub Desktop to manage your projects, create meaningful commits, and track the project&apos;s history in an app instead of on the command line.</p>`
<h4 class="h4 text-gray-dark mb-1">Contributing and collaborating using GitHub Desktop</h4>
<div class="text-purple h6 text-uppercase"></div>
<p class="text-gray my-3">Use GitHub Desktop to manage your projects, create meaningful commits, and track the project&apos;s history in an app instead of on the command line.</p>`
const output = await liquid.parseAndRender(template, context)
expect(output.includes(expected)).toBe(true)
})