Skip to content

Commit 7c23e62

Browse files
committed
[fix] input and label styles for Svelte tutorial
Fixes #127
1 parent 12fe24b commit 7c23e62

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

content/tutorial/01-svelte/common/src/routes/+layout.svelte

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44

55
<style>
66
:global(body) {
7-
font-family: -apple-system, BlinkMacSystemFont,
8-
'Segoe UI', Roboto, Oxygen, Ubuntu,
9-
Cantarell, 'Open Sans', 'Helvetica Neue',
7+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
8+
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
109
sans-serif;
1110
margin: 0;
1211
}
1312
13+
:global(input) {
14+
display: inline-block;
15+
}
16+
:global(label) {
17+
display: block;
18+
}
19+
1420
main {
1521
width: 100%;
1622
height: 100vh;

0 commit comments

Comments
 (0)