Skip to content

Commit f9d8ada

Browse files
authored
Merge pull request pstanoev#211 from leovoon/master
demo: fix style FOUC
2 parents 29137f0 + fa1b6fc commit f9d8ada

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

demo/App.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848

4949
<svelte:head>
5050
{@html solarized}
51-
{#if bulma}
52-
<link rel="stylesheet" href="bulma.css" />
53-
{:else}
54-
<link rel="stylesheet" href="default.css" />
55-
{/if}
51+
<link rel="stylesheet" href="{bulma ? 'bulma.css': 'default.css' }" />
5652
</svelte:head>
5753

5854
<section class="section">

0 commit comments

Comments
 (0)