mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(ui): fix ui bugs [EE-3847] (#7453)
This commit is contained in:
parent
dd372637cb
commit
95fb5a4baa
43 changed files with 246 additions and 448 deletions
|
@ -24,13 +24,17 @@ export function HeaderTitle({ title, children }: PropsWithChildren<Props>) {
|
|||
const { user } = useUser();
|
||||
|
||||
return (
|
||||
<div className="page white-space-normal">
|
||||
{title}
|
||||
<span className="header_title_content">{children}</span>
|
||||
<div className="flex justify-between whitespace-normal pt-3">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="font-medium text-3xl text-gray-11 th-dark:text-white th-highcontrast:text-white">
|
||||
{title}
|
||||
</div>
|
||||
{children && <span>{children}</span>}
|
||||
</div>
|
||||
<Menu>
|
||||
<MenuButton
|
||||
className={clsx(
|
||||
'pull-right flex items-center gap-1',
|
||||
'ml-auto flex items-center gap-1 self-start',
|
||||
styles.menuButton
|
||||
)}
|
||||
data-cy="userMenu-button"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue