Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/renderer/components/app-space-shell/AppSpaceShell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ interface Props {

<template>
<div
class="grid h-screen overflow-hidden"
class="grid h-screen grid-rows-1 overflow-hidden"
:class="props.showRail ? 'grid-cols-[72px_1fr]' : 'grid-cols-[1fr]'"
>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/space-rail/SpaceRail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ watch(
<div
class="mt-auto flex min-h-0 flex-1 flex-col items-center justify-end gap-2 overflow-hidden pb-2"
>
<SpaceRailUnsponsored />
<UiActionButton
v-if="supportsAi"
:tooltip="i18n.t('ai.title')"
Expand All @@ -88,7 +89,6 @@ watch(
<MessageSquare class="size-4" />
</UiActionButton>
<SpaceRailCloudDownloads />
<SpaceRailUnsponsored />
<RouterLink
v-slot="{ navigate }"
custom
Expand Down
20 changes: 10 additions & 10 deletions src/renderer/components/space-rail/Unsponsored.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,20 @@ onBeforeUnmount(() => {
</script>

<template>
<button
<div
v-if="!isSponsored"
type="button"
class="relative h-32 w-3 cursor-pointer border-0 bg-transparent p-0 focus-visible:outline-none"
:class="isDark ? 'text-amber-300/70' : 'text-violet-500/70'"
@click="openDonatePage"
class="flex min-h-0 flex-1 flex-col justify-end"
>
<div
class="absolute top-0 left-0 flex h-3 w-32 origin-top-left translate-y-32 -rotate-90 items-center"
<button
type="button"
class="flex min-h-0 cursor-pointer flex-col border-0 bg-transparent p-0 focus-visible:outline-none"
:class="isDark ? 'text-amber-300/70' : 'text-violet-500/70'"
@click="openDonatePage"
>
<span
ref="labelRef"
class="_uppercase font-mono text-[10px] leading-none font-semibold tracking-[0.14em] whitespace-nowrap select-none"
class="_uppercase min-h-0 rotate-180 overflow-hidden font-mono text-[10px] leading-none font-semibold tracking-[0.14em] text-ellipsis whitespace-nowrap select-none [writing-mode:vertical-rl]"
/>
</div>
</button>
</button>
</div>
</template>