fix(regressions): alignment and color

This commit is contained in:
upsiflu 2025-01-02 11:04:41 +01:00
parent b4cf8ff897
commit dcddaaa561
3 changed files with 5 additions and 6 deletions

View File

@ -31,9 +31,9 @@ const isIconOnly = computed(() => !!props.icon)
<template>
<component :is="isExternalLink ? 'a' : 'RouterLink'"
v-bind="color(props, ['interactive'])(
width(props, ['auto'])(
align(props, { alignText:'center' })
()))"
width(props)(
align(props)(
)))"
:class="[
$style.link,
round && $style['is-round'],
@ -63,7 +63,6 @@ const isIconOnly = computed(() => !!props.icon)
position: relative;
display: inline-flex;
white-space: nowrap;
justify-content: space-between;
padding: 9px 10px 11px 10px;
&.is-icon-only {

View File

@ -17,7 +17,7 @@ onMounted(async () => {
<template>
<div class="funkwhale grid">
<Sidebar/>
<RouterView v-bind="color({}, ['default', 'solid'])" />
<RouterView v-bind="color({}, ['default', 'solid'])()" />
<LanguagesModal />
<ShortcutsModal />
</div>

View File

@ -35,7 +35,7 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
</script>
<template>
<Layout aside :class="[$style.sidebar, $style['sticky-content']]" v-bind="color({}, ['default', 'solid', 'raised'])">
<Layout aside :class="[$style.sidebar, $style['sticky-content']]" default solid raised>
<Layout flex no-gap header style="justify-content:space-between; padding-right:8px;">
<Link
:to="{name: logoUrl}"