Skip to content

Commit c772749

Browse files
several style fixes for GCard and its usage in several places
1 parent 2c598ea commit c772749

5 files changed

Lines changed: 5 additions & 11 deletions

File tree

client/src/components/Common/GCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function onKeyDown(event: KeyboardEvent) {
329329
<div class="d-flex flex-column flex-gapy-1">
330330
<div
331331
:id="`g-card-${props.id}-header`"
332-
class="d-flex flex-wrap flex-gapy-1 flex-gapx-1 justify-content-between">
332+
class="d-flex flex-gapy-1 flex-gapx-1 justify-content-between">
333333
<div class="d-flex flex-column flex-grow-1 g-card-title-section">
334334
<div class="d-flex">
335335
<div v-if="selectable">
@@ -349,7 +349,6 @@ function onKeyDown(event: KeyboardEvent) {
349349
:id="getElementId(props.id, 'title')"
350350
bold
351351
inline
352-
class="d-block"
353352
:size="props.titleSize">
354353
<FontAwesomeIcon
355354
v-if="props.titleIcon?.icon"
@@ -371,7 +370,7 @@ function onKeyDown(event: KeyboardEvent) {
371370
<template v-else>
372371
<span
373372
:id="getElementId(props.id, 'title-text')"
374-
v-g-tooltip.hover
373+
v-g-tooltip.onoverflow
375374
:title="localize(title)"
376375
:class="{ 'g-card-title-truncate': props.titleNLines }">
377376
{{ title }}
@@ -753,6 +752,7 @@ function onKeyDown(event: KeyboardEvent) {
753752
754753
.g-card-rename {
755754
visibility: hidden;
755+
align-self: flex-start;
756756
}
757757
758758
&:hover,

client/src/components/Panels/WorkflowPanel.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ function createNew(event: Event) {
178178
:filterable="false"
179179
:current-workflow-id="props.currentWorkflowId"
180180
editor-view
181-
compact
182181
@insertWorkflow="(...args) => emit('insertWorkflow', ...args)"
183182
@insertWorkflowSteps="(...args) => emit('insertWorkflowSteps', ...args)"
184183
@refreshList="refresh" />

client/src/components/Workflow/Invocation/InvocationScrollList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function getInvocationBadges(invocation: WorkflowInvocation) {
9393
{
9494
id: "state",
9595
label: invocation.state,
96-
title: invocation.state,
96+
title: "",
9797
class: stateClass(invocation.state),
9898
visible: true,
9999
},

client/src/components/Workflow/List/WorkflowCard.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ interface Props {
1818
filterable?: boolean;
1919
publishedView?: boolean;
2020
editorView?: boolean;
21-
compact?: boolean;
2221
current?: boolean;
2322
selected?: boolean;
2423
selectable?: boolean;
@@ -32,7 +31,6 @@ const props = withDefaults(defineProps<Props>(), {
3231
hideRuns: false,
3332
filterable: true,
3433
editorView: false,
35-
compact: false,
3634
current: false,
3735
selected: false,
3836
selectable: false,
@@ -134,7 +132,7 @@ function onKeyDown(event: KeyboardEvent) {
134132
can-rename-title
135133
:title="workflowCardTitle"
136134
:title-badges="workflowCardTitleBadges"
137-
:title-n-lines="props.compact ? 2 : undefined"
135+
:title-n-lines="2"
138136
:description="description || ''"
139137
:grid-view="props.gridView"
140138
:badges="workflowCardBadges"

client/src/components/Workflow/List/WorkflowCardList.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ interface Props {
1919
filterable?: boolean;
2020
publishedView?: boolean;
2121
editorView?: boolean;
22-
compact?: boolean;
2322
currentWorkflowId?: string;
2423
selectedWorkflowIds?: SelectedWorkflow[];
2524
itemRefs?: Record<string, Ref<InstanceType<typeof WorkflowCard> | null>>;
@@ -33,7 +32,6 @@ const props = withDefaults(defineProps<Props>(), {
3332
filterable: true,
3433
publishedView: false,
3534
editorView: false,
36-
compact: false,
3735
currentWorkflowId: "",
3836
selectedWorkflowIds: () => [],
3937
itemRefs: () => ({}),
@@ -107,7 +105,6 @@ const workflowPublished = ref<InstanceType<typeof WorkflowPublished>>();
107105
:filterable="props.filterable"
108106
:published-view="props.publishedView"
109107
:editor-view="props.editorView"
110-
:compact="props.compact"
111108
:current="workflow.id === props.currentWorkflowId"
112109
:clickable="props.clickable"
113110
:highlighted="props.rangeSelectAnchor?.id === workflow.id"

0 commit comments

Comments
 (0)