Skip to content

Commit 1060da1

Browse files
committed
fix: fp-1726 allow int. + ext. global css
1 parent 6d945d3 commit 1060da1

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/lib/_imports/_preview.hbs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,12 @@
88

99
{{! styles: global (for every component) }}
1010
{{! (manually configured) }}
11-
{{#if styles.external.global}}
12-
{{#each styles.external.global}}
13-
<link rel='stylesheet' href='{{this}}' />
14-
{{/each}}
15-
{{else if styles.internal.global}}
16-
{{#each styles.internal.global}}
17-
<link rel='stylesheet' href='{{path this}}' />
18-
{{/each}}
19-
{{/if}}
11+
{{#each styles.external.global}}
12+
<link rel='stylesheet' href='{{this}}' />
13+
{{/each}}
14+
{{#each styles.internal.global}}
15+
<link rel='stylesheet' href='{{path this}}' />
16+
{{/each}}
2017

2118
{{! styles: local (for current component) }}
2219
{{! (automatically found) }}

0 commit comments

Comments
 (0)