Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 9e5cd45

Browse files
committed
making sure the pattern gets a white background
1 parent 15c751c commit 9e5cd45

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

public/styleguide/css/styleguide.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ html, body {
5555
background: #dddddd;
5656
-webkit-text-size-adjust: 100%; }
5757

58+
html#pattern-frame {
59+
background: #ffffff;
60+
}
61+
5862
.sg-nav-wrapper {
5963
overflow: hidden;
6064
background: #dddddd; }

public/styleguide/css/styleguide.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ html, body {
112112
-webkit-text-size-adjust: 100%;
113113
}
114114

115+
html#pattern-frame {
116+
background: #fff;
117+
}
118+
115119
.sg-nav-wrapper {
116120
overflow: hidden;
117121
background: $sg-tertiary;

source/_patternlab-files/pattern-header-footer/header.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html id="pattern-frame">
33
<head>
44
<title>Pattern Lab Pattern</title>
55
<meta charset="UTF-8">
@@ -9,8 +9,9 @@
99
Remember that patterns are displayed from two-levels deep (e.g. patterns/patterntype-patternsubtype-patternname/patterntype-patternsubtype-patternname.html)
1010
Therefore all calls to assets should have the ../../ in order to work in an apache-less environment
1111
-->
12+
1213
<link rel="stylesheet" href="../../styleguide/css/styleguide.css" media="all" />
13-
<link rel="stylesheet" href="../../css/style.css" media="all" />
14+
<link rel="stylesheet" href="../../css/style.css" media="all" />
1415
</head>
1516
<body>
1617

0 commit comments

Comments
 (0)