Enhance PrinterQueue Component with CSS Styling for Vertical Steps

- Added a new CSS class for the PrinterQueue component to adjust the minimum height of the last step item in vertical step layouts.
- Updated the PrinterQueue component to include the new class, improving visual consistency and layout management in the dashboard.
This commit is contained in:
Tom Butcher 2026-09-14 22:08:40 +01:00
parent a8932f1e66
commit 2fcab27cd4
2 changed files with 7 additions and 0 deletions

View File

@ -3350,3 +3350,9 @@ body.objectKanbanColumnResizing * {
stroke: currentColor; stroke: currentColor;
stroke-width: 12px; stroke-width: 12px;
} }
.printerQueue.ant-steps.ant-steps-vertical
> .ant-steps-item:last-child
.ant-steps-item-content {
min-height: 0;
}

View File

@ -49,6 +49,7 @@ const PrinterQueue = ({ queue, currentSubJob }) => {
<Steps <Steps
current={currentIndex} current={currentIndex}
direction='vertical' direction='vertical'
className='printerQueue'
size='small' size='small'
items={items.map((item) => ({ items={items.map((item) => ({
title: <ObjectDisplay object={item} objectType='subJob' showHyperlink /> title: <ObjectDisplay object={item} objectType='subJob' showHyperlink />