diff --git a/frontend/src/components/PageHeader.jsx b/frontend/src/components/PageHeader.jsx index 0affaa7..abd2523 100644 --- a/frontend/src/components/PageHeader.jsx +++ b/frontend/src/components/PageHeader.jsx @@ -3,22 +3,24 @@ import React from 'react' function PageHeader({ title, pretitle, actions, meta }) { return (
+ {/* Верхняя строка: только заголовок */}
- {pretitle && ( -
{pretitle}
- )}

{title}

+ {pretitle && ( +
{pretitle}
+ )} {meta && (
{meta}
)}
- {actions && ( -
- {actions} -
- )}
+ {/* Отдельная строка под заголовком: действия страницы */} + {actions && ( +
+ {actions} +
+ )}
) }