Skip to content

Commit

Permalink
Adjust layout of workflow editor modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Mar 3, 2025
1 parent 3a8cd72 commit 991ad35
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
</div>
<div id="view-modal-body" class="modal-body bg-light workflow-editor-modal-body">
<div id="workflow-steps-container">
<div *ngFor="let workflowStep of workflowSteps" class="workflow-step row">
<div class="col-md-3">{{workflowStep.resource.executionDate}}</div>
<div class="col-md-3">{{getCategoryLabel(workflowStep)}}</div>
<div class="col-md-6">{{getShortDescriptionLabel(workflowStep)}}</div>
<div *ngFor="let workflowStep of workflowSteps" class="workflow-step">
<div class="workflow-step-execution-date">{{workflowStep.resource.executionDate}}</div>
<div class="workflow-step-category">{{getCategoryLabel(workflowStep)}}</div>
<div class="workflow-step-short-description">{{getShortDescriptionLabel(workflowStep)}}</div>
</div>
</div>
<div id="workflow-step-plus-button-container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,29 @@
user-select: none;

.workflow-step {
padding: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);;
display: flex;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);

.workflow-step-execution-date,
.workflow-step-category,
.workflow-step-short-description {
padding: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.workflow-step-execution-date {
width: 120px;
}

.workflow-step-category {
width: 200px;
}

.workflow-step-short-description {
width: calc(100% - 400px);
}
}
}

Expand Down

0 comments on commit 991ad35

Please sign in to comment.