Log Controls: Add dividers and increase max height of the panel (#104477)
* Logs panel: increase max height * LogListControls: add divider
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user