Gruppen 1.2.1: Beitragsseite in Lesebreite; Fehler beim Öffnen eines Beitrags ohne Sprungmarke behoben
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e7e92c5624
commit
da90d764e3
6 changed files with 7 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ const props = defineProps({
|
|||
});
|
||||
|
||||
onMounted(() => {
|
||||
const target = location.hash && document.querySelector(location.hash);
|
||||
const target = location.hash ? document.querySelector(location.hash) : null;
|
||||
target?.scrollIntoView({ block: 'center' });
|
||||
});
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ async function resolve() {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<AppLayout :title="`Beitrag in ${group.name}`">
|
||||
<AppLayout :title="`Beitrag in ${group.name}`" width="medium">
|
||||
<PageHeader title="Beitrag" :breadcrumbs="[{ label: 'Gruppen', href: '/gruppen' }, { label: group.name, href: group.url }]" />
|
||||
<div class="ih:mx-auto ih:grid ih:max-w-4xl ih:gap-4">
|
||||
<div v-if="reports.length" class="ih:rounded-md ih:border ih:border-destructive/30 ih:bg-destructive/5 ih:p-3 ih:text-sm">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue