Skip to content

Commit 93d6f40

Browse files
Merge pull request #1083 from pattern-lab/fix/fix-handlebars-demo-and-small-uikit-tweaks
Fix Handlebars Demo's defaultPattern + Minor UIKit Tweaks
2 parents 3f89dda + e4675f1 commit 93d6f40

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

packages/development-edition-engine-handlebars/patternlab-config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"cacheBust": true,
33
"cleanPublic": true,
4-
"defaultPattern": "atoms-swatch",
4+
"defaultPattern": "all",
55
"defaultShowPatternInfo": false,
66
"ishControlsHide": {
7-
"s": true,
8-
"m": true,
9-
"l": true,
7+
"s": false,
8+
"m": false,
9+
"l": false,
1010
"full": false,
1111
"random": true,
1212
"disco": true,

packages/uikit-workshop/src/sass/scss/04-components/_pattern.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,7 @@
129129
max-height: 150rem;
130130
}
131131
}
132+
133+
.pl-c-pattern-index {
134+
padding: 0 0.5rem;
135+
}

packages/uikit-workshop/src/scripts/components/pl-header/pl-header.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ pl-header {
2222
border-right-color: var(--theme-border, $pl-color-gray-20);
2323
border-bottom-color: $pl-color-gray-20;
2424
border-bottom-color: var(--theme-border, $pl-color-gray-20);
25-
box-shadow: 0 8px 15px 1px rgba(6, 10, 36, 0.1),0 18px 24px 1px rgba(6, 10, 36, 0.12);
25+
box-shadow: 0 8px 15px 1px rgba(6, 10, 36, 0.1);
2626

2727
.pl-c-body--theme-light & {
2828
color: $pl-color-black;
2929
background-color: $pl-color-white;
30-
border-bottom: 1px solid $pl-color-gray-20;
3130
}
3231

3332
@media all and (min-width: $pl-bp-med) {

packages/uikit-workshop/src/scripts/components/pl-logo/pl-logo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pl-logo {
4848
.pl-c-logo__img {
4949
display: block;
5050
height: auto;
51-
max-height: 2.5rem;
51+
max-height: 2.063rem; // ~50px max height for the global header
5252

5353
&:not(:last-child){
5454
margin-right: 0.25rem;

0 commit comments

Comments
 (0)