Skip to content

Commit

Permalink
Merge pull request #2494 from devtron-labs/fix/cluster-events-theming
Browse files Browse the repository at this point in the history
fix: theming issue in cluster events
  • Loading branch information
eshankvaish authored Feb 25, 2025
2 parents 33a10d3 + fdfdb26 commit fbed57d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,11 @@ const EventsComponent = ({
}

return (
<div className={`flexbox-col flex-grow-1 ${getComponentSpecificThemeClass(AppThemeType.dark)}`}>
<div
className="flex-grow-1"
style={{ background: 'var(--terminal-bg)' }}
>
{renderContent()}
</div>
<div
className="flex-grow-1"
style={{ background: 'var(--terminal-bg)' }}
>
{renderContent()}
</div>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { MESSAGING_UI } from '../../../../../../config/constants'
import MessageUI, { MsgUIType } from '../../../../common/message.ui'
import { EventTableType } from './node.type'
import { TERMINAL_STATUS, TERMINAL_TEXT } from './terminal/constants'
import { AppThemeType, getComponentSpecificThemeClass } from '@devtron-labs/devtron-fe-common-lib'

export const EventsTable = ({ loading, eventsList, isResourceBrowserView, errorValue, reconnect }: EventTableType) => {
const renderEventsTable = () => {
Expand All @@ -37,7 +38,7 @@ export const EventsTable = ({ loading, eventsList, isResourceBrowserView, errorV
return (
<div
data-testid="app-events-container"
className="text__white dc__overflow-auto"
className={`text__white dc__overflow-auto ${getComponentSpecificThemeClass(AppThemeType.dark)}`}
style={{
height: isResourceBrowserView ? 'calc(100vh - 119px)' : 'calc(100vh - 155px)',
}}
Expand Down

0 comments on commit fbed57d

Please sign in to comment.