-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3000 from oaknational/feat/CUR-1058-screenshot-un…
…it-modals-in-curric Screenshots of unit modals added to curric automate script
- Loading branch information
Showing
8 changed files
with
670 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
scripts/dev/curriculum/_commands/__snapshots__/helpers.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`wrapHtmlLayout wraps content with layout 1`] = ` | ||
" | ||
<html> | ||
<body> | ||
<style> | ||
html { | ||
box-sizing: border-box; | ||
font-family: sans-serif; | ||
font-size: 14px; | ||
} | ||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
*, *:before, *:after { | ||
box-sizing: inherit; | ||
} | ||
.column-header{ | ||
background: #eeeeee; | ||
padding: 8px; | ||
position: sticky; | ||
top: 8px; | ||
z-index: 9999; | ||
border-radius: 5px; | ||
} | ||
.nav-item{ | ||
margin:8px 0; | ||
display:flex; | ||
align-items: center; | ||
} | ||
.nav-item a { | ||
text-wrap: nowrap; | ||
color:#333; | ||
} | ||
.nav-item a:hover{ | ||
color: #777; | ||
} | ||
.pill{ | ||
background:#333; | ||
color:#fff; | ||
padding:2px 4px; | ||
border-radius:3px; | ||
} | ||
.image-holder{ | ||
position: relative; | ||
overflow: hidden; | ||
} | ||
.diff-image{ | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
mix-blend-mode: difference; | ||
} | ||
.image-holder img{ | ||
width: 100%; | ||
} | ||
</style> | ||
<div style="display: flex;"> | ||
<p>Hello world</p> | ||
</div> | ||
</body> | ||
</html> | ||
" | ||
`; |
Oops, something went wrong.