added wide mode to desktop editor

This commit is contained in:
2026-03-28 14:07:38 +01:00
parent 9662b6af43
commit fddbe7d584
7 changed files with 13 additions and 11 deletions
+3 -2
View File
@@ -3,12 +3,13 @@ import Layout from './Layout.astro';
interface Props {
title: string;
wide?: boolean;
}
const { title } = Astro.props;
const { title, wide = false } = Astro.props;
---
<Layout title={title}>
<Layout title={title} wide={wide}>
<div class="glass p-6 md:p-12 mb-12" id="admin-content" style="display: none;">
<header class="mb-8 md:mb-12 border-b border-white/5 pb-8 md:pb-12 flex flex-col md:flex-row justify-between items-start md:items-center gap-4">
<div>