From 918fefe190daf2120563edc4708a43f341877c65 Mon Sep 17 00:00:00 2001 From: Oleksii Orel Date: Thu, 31 Aug 2023 02:04:39 +0300 Subject: [PATCH] fixup! fixup! feat: implement an ability to customize Eclipse Che logo --- packages/dashboard-frontend/src/Layout/index.module.css | 3 --- packages/dashboard-frontend/src/Layout/index.tsx | 4 +--- packages/dashboard-frontend/src/app.css | 4 ++++ 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 packages/dashboard-frontend/src/Layout/index.module.css diff --git a/packages/dashboard-frontend/src/Layout/index.module.css b/packages/dashboard-frontend/src/Layout/index.module.css deleted file mode 100644 index ec8d3957b..000000000 --- a/packages/dashboard-frontend/src/Layout/index.module.css +++ /dev/null @@ -1,3 +0,0 @@ -.cheBrand { - min-height: 50px; -} diff --git a/packages/dashboard-frontend/src/Layout/index.tsx b/packages/dashboard-frontend/src/Layout/index.tsx index dd4a98f2e..ba31a3179 100644 --- a/packages/dashboard-frontend/src/Layout/index.tsx +++ b/packages/dashboard-frontend/src/Layout/index.tsx @@ -31,8 +31,6 @@ import { ToggleBarsContext } from '../contexts/ToggleBars'; import { signOut } from '../services/helpers/login'; import { selectDashboardLogo } from '../store/ServerConfig/selectors'; -import * as styles from './index.module.css'; - const IS_MANAGED_SIDEBAR = false; type Props = MappedProps & { @@ -123,7 +121,7 @@ export class Layout extends React.PureComponent {
} + logo={} logout={() => signOut()} toggleNav={() => this.toggleNav()} /> diff --git a/packages/dashboard-frontend/src/app.css b/packages/dashboard-frontend/src/app.css index 064f99d33..4c2346b52 100644 --- a/packages/dashboard-frontend/src/app.css +++ b/packages/dashboard-frontend/src/app.css @@ -146,6 +146,10 @@ div.main-page-loader .ide-page-loader-content img { animation-timing-function: linear; } +.pf-c-page__header-brand-link .pf-c-brand { + min-height: 50px; +} + @keyframes hide { 0% { overflow: visible;