mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Table: Set width 100% if the calced width is 0 (#35802)
This commit is contained in:
@@ -198,7 +198,7 @@ export const Table: FC<Props> = memo((props: Props) => {
|
||||
return (
|
||||
<div {...getTableProps()} className={tableStyles.table} aria-label={ariaLabel}>
|
||||
<CustomScrollbar hideVerticalTrack={true}>
|
||||
<div style={{ width: `${totalColumnsWidth}px` }}>
|
||||
<div style={{ width: totalColumnsWidth ? `${totalColumnsWidth}px` : '100%' }}>
|
||||
{!noHeader && (
|
||||
<div>
|
||||
{headerGroups.map((headerGroup: HeaderGroup) => {
|
||||
|
||||
Reference in New Issue
Block a user