fix(style): minor style corrections

This commit is contained in:
upsiflu 2024-12-22 21:25:29 +01:00
parent acb3656839
commit 79edf6a0a5
3 changed files with 16 additions and 13 deletions

View File

@ -166,7 +166,7 @@ const federationEnabled = computed(() => {
</p> </p>
<template #action> <template #action>
<Button disabled> <Button full disabled>
{{ t('components.About.message.loggedIn') }} {{ t('components.About.message.loggedIn') }}
</Button> </Button>
</template> </template>
@ -220,14 +220,15 @@ const federationEnabled = computed(() => {
</div> </div>
</div> </div>
</template> </template>
</div>
<router-link <template #action>
<Link alignText="center"
to="/about/pod" to="/about/pod"
class="ui fluid basic secondary button"
> >
{{ t('components.About.link.learnMore') }} {{ t('components.About.link.learnMore') }}
</router-link> </Link>
</div> </template>
</Card> </Card>
</Layout> </Layout>

View File

@ -6,8 +6,7 @@
html, body { html, body {
font-family: $font-main; font-family: $font-main;
font-size: 16px !important; font-size: 16px;
// background-color: var(--fw-bg-color);
} }
.has-background-light { .has-background-light {
@ -24,3 +23,8 @@ html, body {
:root { :root {
--fw-border-radius: 8px; --fw-border-radius: 8px;
} }
:root{
/* Do not show white background when scrolling past the end */
overscroll-behavior: none;
}

View File

@ -166,7 +166,7 @@ const uploads = useUploadsStore()
<Spacer /> <Spacer />
<h3>{{ t('components.Sidebar.link.channels') }}</h3> <h3>{{ t('components.Sidebar.link.channels') }}</h3>
<Spacer grow /> <Spacer grow />
<Layout nav flex no-gap> <Layout nav flex no-gap style="justify-content: center">
<Link thin to="/about"> <Link thin to="/about">
{{ t('components.Sidebar.link.about') }} {{ t('components.Sidebar.link.about') }}
</Link> </Link>
@ -186,15 +186,13 @@ const uploads = useUploadsStore()
<style module lang="scss"> <style module lang="scss">
.sidebar { .sidebar {
display:flex;
flex-direction:column;
.logo { .logo {
margin: 16px; padding-left: 16px;
padding-top: 8px;
} }
&.sticky-content { &.sticky-content {
max-height: 100vh; max-height: 100dvh;
overflow: auto; overflow: auto;
top: 0; top: 0;