Skip to content

Commit 9ed822c

Browse files
committed
Navigation fix
1 parent 44d809b commit 9ed822c

File tree

1 file changed

+34
-25
lines changed

1 file changed

+34
-25
lines changed

src/routes/Navigation.svelte

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,46 @@
11
<nav>
2-
<a href="/">Start</a> |
3-
<a href="/test">Test page</a> |
4-
<a href="/crud">CRUD</a> |
5-
<a href="/super-debug">SuperDebug</a> |
6-
<a href="/nested">Nested</a> |
7-
<a href="/timers">Timers</a> |
2+
<a href="/">Start</a>
3+
<a href="/test">Test page</a>
4+
<a href="/crud">CRUD</a>
5+
<a href="/super-debug">SuperDebug</a>
6+
<a href="/nested">Nested</a>
7+
<a href="/timers">Timers</a>
88
<a href="/multiple">Multiple</a>
9-
<br />
10-
<a href="/multiple2">Multiple 2</a> |
11-
<a href="/snapshot">Snapshot</a> |
12-
<a href="/dates">Dates</a> |
13-
<a href="/reset">Reset</a> |
14-
<a href="/url">URL</a> |
15-
<a href="/tainted">Tainted</a> |
16-
<a href="/proxies">Proxies</a> |
9+
<a href="/multiple2">Multiple 2</a>
10+
<a href="/snapshot">Snapshot</a>
11+
<a href="/dates">Dates</a>
12+
<a href="/reset">Reset</a>
13+
<a href="/url">URL</a>
14+
<a href="/tainted">Tainted</a>
15+
<a href="/proxies">Proxies</a>
1716
<a href="/tests/datetime-local">Proxies 2</a>
18-
<br />
19-
<a href="/properly-nested">Properly nested</a> |
20-
<a href="/files">Files</a> |
21-
<a href="/spa">SPA</a> |
22-
<a href="/nested-validation">Nested client validation</a> |
17+
<a href="/properly-nested">Properly nested</a>
18+
<a href="/nested-validation">Nested client validation</a>
2319
<a href="/tests/rex">Side-effect validation</a>
24-
<br />
25-
<a href="/tests/superform-c">Side-effect 2</a> |
26-
<a href="/tests/multiselect">Multi-select</a> |
27-
<a href="/tests/spa-values-disappearing">SPA onUpdate</a> |
28-
<a href="/posted">Posted store</a> |
20+
<a href="/tests/superform-c">Side-effect 2</a>
21+
<a href="/tests/custom-validity">Custom validity</a>
22+
<a href="/files">Files</a>
23+
<a href="/spa">SPA</a>
24+
<a href="/tests/multiselect">Multi-select</a>
25+
<a href="/tests/spa-values-disappearing">SPA onUpdate</a>
26+
<a href="/posted">Posted store</a>
2927
<a href="/tests/flash-onerror">Flash onError</a>
3028
</nav>
3129

32-
<style>
30+
<style lang="scss">
3331
nav {
32+
display: flex;
3433
text-align: center;
3534
margin-bottom: 12px;
35+
flex-wrap: wrap;
36+
column-gap: 5px;
37+
justify-content: center;
38+
39+
a {
40+
white-space: nowrap;
41+
&:not(:last-child)::after {
42+
content: ' | ';
43+
}
44+
}
3645
}
3746
</style>

0 commit comments

Comments
 (0)