Skip to content

Commit

Permalink
fix(tooltip): Wider service status tooltip
Browse files Browse the repository at this point in the history
Display the full timestamp on one line
  • Loading branch information
vehagn committed May 13, 2024
1 parent d0dc4f8 commit cd93451
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion app-src/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,10 @@ table ul li {

.rotating {
animation: rotating 2s linear infinite;
}
}

.service-status-tooltip {
.tooltip-inner {
min-width: 250px;
}
}
5 changes: 4 additions & 1 deletion app-src/src/components/ServiceStatusBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const ServiceStatusBadge = ({
placement="top"
delay={100}
overlay={
<Tooltip id={`tooltip-task-status-sate-${id}`}>
<Tooltip
id={`tooltip-task-status-sate-${id}`}
className="service-status-tooltip"
>
{createdAt && (
<span>
Created at:{' '}
Expand Down

0 comments on commit cd93451

Please sign in to comment.