You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser type and version: firefox 128.0.3 (64-bits) and chromium 127.0.6533.88
Description:
The TableMetric presents an overflow issue when the subtitle is to long, making the action buttons unreachable (or only after scroll). This can be seen in the image provided below.
The subtitle text has the CSS class 'truncate', which intention is to trim the string with text-overflow: ellipsis;, but as you can see there is just an overflow with scrollbar. I would suggest the subtitle will ether get trimmed or wrapped to a new line, the action buttons shouldn't be pushed away. I also tested this in different browsers with the same experience.
Detailed steps to reproduce the issue on a fresh Nova installation:
Make a new table metric
add an MetricTableRow with a long subtitle to a Dashboard.
Example of Table Metric:
class Example extends Table
{
publicfunctioncalculate(NovaRequest$request)
{
return [
MetricTableRow::make()
->title('Overflow It!')
->subtitle('The subtitle is to long making an overflow, even tho this has a class with the name truncate, witch should prevent the overflow, pushing the action buttons out of view.')
->actions(fn () => [
MenuItem::externalLink('Random Action', 'http://127.0.0.1:8000/'),
]);
]
}
}
The text was updated successfully, but these errors were encountered:
Description:
The TableMetric presents an overflow issue when the subtitle is to long, making the action buttons unreachable (or only after scroll). This can be seen in the image provided below.
The subtitle text has the CSS class 'truncate', which intention is to trim the string with
text-overflow: ellipsis;
, but as you can see there is just an overflow with scrollbar. I would suggest the subtitle will ether get trimmed or wrapped to a new line, the action buttons shouldn't be pushed away. I also tested this in different browsers with the same experience.Detailed steps to reproduce the issue on a fresh Nova installation:
Make a new table metric
add an
MetricTableRow
with a long subtitle to a Dashboard.Example of Table Metric:
The text was updated successfully, but these errors were encountered: