Commit 34b6405f by Torkel Ödegaard Committed by GitHub

Merge pull request #16036 from steven-sheehy/log-stats-overflow

Explore: Fix log stats with long labels
parents bfa54d2e ec34099e
...@@ -11,7 +11,9 @@ function LogLabelStatsRow(logLabelStatsModel: LogLabelStatsModel) { ...@@ -11,7 +11,9 @@ function LogLabelStatsRow(logLabelStatsModel: LogLabelStatsModel) {
return ( return (
<div className={className}> <div className={className}>
<div className="logs-stats-row__label"> <div className="logs-stats-row__label">
<div className="logs-stats-row__value">{value}</div> <div className="logs-stats-row__value" title={value}>
{value}
</div>
<div className="logs-stats-row__count">{count}</div> <div className="logs-stats-row__count">{count}</div>
<div className="logs-stats-row__percent">{percent}</div> <div className="logs-stats-row__percent">{percent}</div>
</div> </div>
......
...@@ -299,6 +299,8 @@ $column-horizontal-spacing: 10px; ...@@ -299,6 +299,8 @@ $column-horizontal-spacing: 10px;
&__value { &__value {
flex: 1; flex: 1;
text-overflow: ellipsis;
overflow: hidden;
} }
&__count, &__count,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment