Log Controls: Add dividers and increase max height of the panel (#104477)

* Logs panel: increase max height

* LogListControls: add divider
pull/104668/head^2
Matias Chomicki 3 months ago committed by GitHub
parent 8a4d215914
commit 84dd26a2da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/features/explore/Logs/Logs.tsx
  2. 2
      public/app/features/logs/components/ControlledLogRows.tsx
  3. 2
      public/app/features/logs/components/panel/LogListControls.tsx

@ -1253,7 +1253,7 @@ const getStyles = (theme: GrafanaTheme2, wrapLogMessage: boolean, tableHeight: n
scrollableLogRows: css({
overflowY: 'scroll',
width: '100%',
maxHeight: '75vh',
maxHeight: '80vh',
}),
logRows: css({
overflowX: `${wrapLogMessage ? 'unset' : 'scroll'}`,

@ -184,7 +184,7 @@ const styles = {
scrollableLogRows: css({
overflowY: 'auto',
width: '100%',
maxHeight: '75vh',
maxHeight: '80vh',
}),
forwardedScrollableLogRows: css({
overflowY: 'auto',

@ -233,6 +233,7 @@ export const LogListControls = ({ eventBus, visualisationType = 'logs' }: Props)
/>
{visualisationType === 'logs' && (
<>
<div className={styles.divider} />
<Dropdown overlay={deduplicationMenu} placement="auto-end">
<IconButton
name={'filter'}
@ -253,6 +254,7 @@ export const LogListControls = ({ eventBus, visualisationType = 'logs' }: Props)
size="lg"
/>
</Dropdown>
<div className={styles.divider} />
<IconButton
name="clock-nine"
aria-pressed={showTime}

Loading…
Cancel
Save