Skip to content

Commit

Permalink
fix(ui): Another trick to make columns fit with the button
Browse files Browse the repository at this point in the history
  • Loading branch information
pando85 committed Jan 23, 2024
1 parent 6a503a7 commit 0d4028a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions server/web/ui/src/JobTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ const JobTable: React.FC<JobTableProps> = ({ token, setShowJobTable }) => {
{job.status_message}
</TableCell>
<TableCell title={formatDateDetailed(job.last_update)}>
<div className="row-menu">
{formatDateShort(job.last_update)}
<Button
className="simple-menu"
Expand Down Expand Up @@ -487,6 +488,7 @@ const JobTable: React.FC<JobTableProps> = ({ token, setShowJobTable }) => {
<Typography>Message: {job.status_message}</Typography>
</MenuItem>
</Menu>
</div>
</TableCell>
</TableRow>
))}
Expand Down
5 changes: 2 additions & 3 deletions server/web/ui/src/themes/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ code {
box-shadow: 0 0 0.4rem rgba($box-shadow-color, .05);
}

.simple-menu {
position: absolute;
margin-left: -5px;
.row-menu {
display: flex;
}

.centered-container {
Expand Down

0 comments on commit 0d4028a

Please sign in to comment.