revert: annulation largeur notes — retour valeurs précédentes
This commit is contained in:
@@ -985,7 +985,7 @@ html.font-system * {
|
||||
|
||||
/* Editor body size — used for textarea and ProseMirror content */
|
||||
:root {
|
||||
--editor-body-size: var(--user-font-size, 18px);
|
||||
--editor-body-size: var(--user-font-size, 16px);
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -46,7 +46,7 @@ export function NoteEditorDialog({ onClose }: NoteEditorDialogProps) {
|
||||
<Dialog open={true} onOpenChange={onClose}>
|
||||
<DialogContent
|
||||
className={cn(
|
||||
'!max-w-[min(98vw,2000px)] h-[94vh] overflow-hidden p-0 flex flex-row items-stretch rounded-lg',
|
||||
'!max-w-[min(97vw,1800px)] h-[92vh] overflow-hidden p-0 flex flex-row items-stretch rounded-lg',
|
||||
state.colorClasses
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -72,8 +72,8 @@ export function NoteEditorFullPage({ onClose }: NoteEditorFullPageProps) {
|
||||
{/* TOOLBAR */}
|
||||
<NoteEditorToolbar mode="fullPage" onClose={onClose} onToggleAttachments={() => setUploadTrigger(v => v + 1)} attachmentsCount={attachmentsCount} />
|
||||
|
||||
{/* BODY — max-w-6xl, responsive px, py-16 */}
|
||||
<div className="max-w-6xl mx-auto w-full px-6 sm:px-12 py-16 space-y-12 min-w-0">
|
||||
{/* BODY — max-w-5xl, responsive px, py-16 */}
|
||||
<div className="max-w-5xl mx-auto w-full px-6 sm:px-12 py-16 space-y-12 min-w-0">
|
||||
|
||||
{/* Breadcrumb + Title block */}
|
||||
<div className="space-y-4">
|
||||
@@ -130,8 +130,8 @@ export function NoteEditorFullPage({ onClose }: NoteEditorFullPageProps) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Content area — max-w-5xl for wider reading column */}
|
||||
<div className="max-w-5xl mx-auto w-full space-y-8 pb-32">
|
||||
{/* Content area — max-w-4xl for wider reading column */}
|
||||
<div className="max-w-4xl mx-auto w-full space-y-8 pb-32">
|
||||
{state.quotaExceededFeature === 'reformulate' && (
|
||||
<InlinePaywall
|
||||
feature="reformulate"
|
||||
|
||||
@@ -530,7 +530,7 @@ export function NoteEditorToolbar({ mode, onClose, onToggleAttachments, attachme
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-6xl mx-auto w-full px-4 sm:px-8 md:px-12 py-4 sm:py-6 md:py-8 flex items-center justify-between sticky top-0 bg-white/95 dark:bg-background/95 backdrop-blur-sm z-40 border-b border-border dark:border-white/10">
|
||||
<div className="max-w-5xl mx-auto w-full px-4 sm:px-8 md:px-12 py-4 sm:py-6 md:py-8 flex items-center justify-between sticky top-0 bg-white/95 dark:bg-background/95 backdrop-blur-sm z-40 border-b border-border dark:border-white/10">
|
||||
<button
|
||||
onClick={handleCloseWithSave}
|
||||
className="flex items-center gap-2 text-foreground hover:opacity-60 transition-opacity"
|
||||
|
||||
Reference in New Issue
Block a user