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">
|
||||
import Navbar from '$lib/components/Navbar.svelte'
|
||||
import '../style/app.css'
|
||||
import { navigating, page } from '$app/stores'
|
||||
import nProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
import Navbar from '$lib/components/Navbar.svelte'
|
||||
import '../style/app.css'
|
||||
import { navigating, page } from '$app/stores'
|
||||
import nProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
|
||||
nProgress.configure({
|
||||
minimum: 0.4,
|
||||
trickleSpeed: 200,
|
||||
showSpinner: false,
|
||||
})
|
||||
nProgress.configure({
|
||||
minimum: 0.4,
|
||||
trickleSpeed: 200,
|
||||
showSpinner: false,
|
||||
})
|
||||
|
||||
$: {
|
||||
if ($navigating) {
|
||||
nProgress.start()
|
||||
}
|
||||
if (!$navigating) {
|
||||
nProgress.done()
|
||||
}
|
||||
$: {
|
||||
if ($navigating) {
|
||||
nProgress.start()
|
||||
}
|
||||
if (!$navigating) {
|
||||
nProgress.done()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<Navbar routes={$page.url.pathname.split('/').slice(1)} />
|
||||
<div class="mx-auto max-w-5xl p-4">
|
||||
<slot />
|
||||
<slot />
|
||||
</div>
|
||||
+11
-7
@@ -9,7 +9,7 @@
|
||||
export let data
|
||||
</script>
|
||||
|
||||
<div class="flex flex-row">
|
||||
<div class="flex flex-row max-w-full">
|
||||
<div class="flex flex-col gap-2">
|
||||
<MultiSelect options={['Subscribed', 'Local', 'All']} selected="Local" />
|
||||
|
||||
@@ -19,11 +19,15 @@
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<Button
|
||||
on:click={() =>
|
||||
goto(`/?page=${(Number($page.url.searchParams.get('page')) || 1) + 1}`)}
|
||||
>
|
||||
Next
|
||||
</Button>
|
||||
<div>
|
||||
<Button
|
||||
on:click={() =>
|
||||
goto(
|
||||
`/?page=${(Number($page.url.searchParams.get('page')) || 1) + 1}`
|
||||
)}
|
||||
>
|
||||
Next
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<div
|
||||
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">
|
||||
<span class="flex flex-row gap-2 text-sm opacity-70">
|
||||
|
||||
Reference in new issue
Block a user