misc: Fix max-w-full
This commit is contained in:
1 parent
47b09a591b
commit
38d387e2c2
3 files changed
+30
-26
No files matched your search
+18
-18
@@ -1,27 +1,27 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Navbar from '$lib/components/Navbar.svelte'
|
import Navbar from '$lib/components/Navbar.svelte'
|
||||||
import '../style/app.css'
|
import '../style/app.css'
|
||||||
import { navigating, page } from '$app/stores'
|
import { navigating, page } from '$app/stores'
|
||||||
import nProgress from 'nprogress'
|
import nProgress from 'nprogress'
|
||||||
import 'nprogress/nprogress.css'
|
import 'nprogress/nprogress.css'
|
||||||
|
|
||||||
nProgress.configure({
|
nProgress.configure({
|
||||||
minimum: 0.4,
|
minimum: 0.4,
|
||||||
trickleSpeed: 200,
|
trickleSpeed: 200,
|
||||||
showSpinner: false,
|
showSpinner: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
$: {
|
$: {
|
||||||
if ($navigating) {
|
if ($navigating) {
|
||||||
nProgress.start()
|
nProgress.start()
|
||||||
}
|
|
||||||
if (!$navigating) {
|
|
||||||
nProgress.done()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
if (!$navigating) {
|
||||||
|
nProgress.done()
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Navbar routes={$page.url.pathname.split('/').slice(1)} />
|
<Navbar routes={$page.url.pathname.split('/').slice(1)} />
|
||||||
<div class="mx-auto max-w-5xl p-4">
|
<div class="mx-auto max-w-5xl p-4">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
+11
-7
@@ -9,7 +9,7 @@
|
|||||||
export let data
|
export let data
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-row">
|
<div class="flex flex-row max-w-full">
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2">
|
||||||
<MultiSelect options={['Subscribed', 'Local', 'All']} selected="Local" />
|
<MultiSelect options={['Subscribed', 'Local', 'All']} selected="Local" />
|
||||||
|
|
||||||
@@ -19,11 +19,15 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<div>
|
||||||
on:click={() =>
|
<Button
|
||||||
goto(`/?page=${(Number($page.url.searchParams.get('page')) || 1) + 1}`)}
|
on:click={() =>
|
||||||
>
|
goto(
|
||||||
Next
|
`/?page=${(Number($page.url.searchParams.get('page')) || 1) + 1}`
|
||||||
</Button>
|
)}
|
||||||
|
>
|
||||||
|
Next
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
class="bg-white dark:bg-zinc-900 border dark:border-zinc-800 border-slate-200
|
class="bg-white dark:bg-zinc-900 border dark:border-zinc-800 border-slate-200
|
||||||
rounded-md flex flex-col overflow-hidden max-w-xl"
|
rounded-md flex flex-col overflow-hidden max-w-xl w-full"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col gap-2 bg-white dark:bg-zinc-900 p-4 rounded-md">
|
<div class="flex flex-col gap-2 bg-white dark:bg-zinc-900 p-4 rounded-md">
|
||||||
<span class="flex flex-row gap-2 text-sm opacity-70">
|
<span class="flex flex-row gap-2 text-sm opacity-70">
|
||||||
|
|||||||
Reference in new issue
Block a user