Skip to content

Commit

Permalink
Fixes test, tweaks per PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviawongnyc committed Dec 10, 2024
1 parent 22f5641 commit 8308057
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
6 changes: 4 additions & 2 deletions src/components/Template/Template.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ import Link from "../Link/Link";

## Template Overview

### Using the `Template` with the `Header` and `Footer`

<Source
code={`
import {
Expand Down Expand Up @@ -77,6 +75,10 @@ The components consist of, listed in DOM structure order:
- `TemplateSidebar`
- `TemplateBottom`

### Using the `Template` with the `Header` and `Footer`

TBD.

## Template Accessibility

Wide lines of text are difficult to read and are proven to make it harder for
Expand Down
18 changes: 9 additions & 9 deletions src/components/Template/__snapshots__/Template.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ exports[`Template components renders the UI snapshot correctly 2`] = `
Content Top
</div>
</div>
<div
className="css-s7bsmx"
>
<div
className="placeholder placeholder--undefined"
>
Right Sidebar
</div>
</div>
<main
className="css-n7iznt"
id="mainContent"
Expand All @@ -104,6 +95,15 @@ exports[`Template components renders the UI snapshot correctly 2`] = `
More Content
</div>
</main>
<div
className="css-s7bsmx"
>
<div
className="placeholder placeholder--undefined"
>
Right Sidebar
</div>
</div>
<div
className="css-1yhc1wu"
>
Expand Down

0 comments on commit 8308057

Please sign in to comment.