design: reorganize profile (#451)
* fix: re-add actions to community header * impr: reorganize the profile menu * misc: improve blocks page * fix: use a better icon for expands * misc: reorganize some settings
This commit is contained in:
1 parent
7c7df02e3d
commit
62e20fcb69
14 files changed
+373
-189
No files matched your search
@@ -23,7 +23,9 @@
|
||||
class="{open ? 'rotate-180' : ''} transition-transform"
|
||||
/>
|
||||
</div>
|
||||
<div class="pt-2 text-slate-900 dark:text-zinc-100">
|
||||
<slot />
|
||||
</div>
|
||||
<slot name="content">
|
||||
<div class="pt-2 text-slate-900 dark:text-zinc-100">
|
||||
<slot />
|
||||
</div>
|
||||
</slot>
|
||||
</Disclosure>
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
"
|
||||
style="{pageHeader
|
||||
? `margin-top: min(-1.5rem, calc(-1 * calc(${$contentPadding.top}px))); padding-top: max(1.5rem, calc(${$contentPadding.top}px));`
|
||||
: ''};
|
||||
? `margin-top: min(-6rem, calc(-1 * calc(${$contentPadding.top}px))); padding-top: max(6rem, calc(${$contentPadding.top}px));`
|
||||
: ''} {$$props.style};
|
||||
"
|
||||
>
|
||||
<h1
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
currentRoute: string | undefined,
|
||||
href: string
|
||||
) => string = (route, href) => href
|
||||
export let defaultRoute: string | undefined
|
||||
export let defaultRoute: string | undefined = undefined
|
||||
</script>
|
||||
|
||||
<nav
|
||||
|
||||
Reference in new issue
Block a user