Skip to content

Commit 97469ad

Browse files
committed
one-line invocation name with ellipsis
1 parent 301b756 commit 97469ad

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

client/src/components/Workflow/WorkflowAnnotation.vue

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ const workflowTags = computed(() => {
6868
<FontAwesomeIcon :icon="faHdd" />History:
6969

7070
<span class="history-link-wrapper">
71-
<SwitchToHistoryLink :history-id="props.historyId" />
71+
<SwitchToHistoryLink
72+
:history-id="props.historyId"
73+
/>
7274
</span>
7375

7476
<BBadge
@@ -105,16 +107,18 @@ const workflowTags = computed(() => {
105107
vertical-align: middle;
106108
}
107109
108-
::v-deep(.history-link-wrapper a),
109-
::v-deep(.history-link-wrapper div) {
110-
display: -webkit-box;
111-
-webkit-line-clamp: 3;
112-
-webkit-box-orient: vertical;
110+
::v-deep(.history-link-wrapper .history-link button) {
111+
display: inline-block !important;
112+
overflow: hidden !important;
113+
white-space: nowrap !important;
114+
text-overflow: ellipsis !important;
115+
max-width: 100% !important;
116+
vertical-align: middle;
117+
}
118+
119+
::v-deep(.history-link-wrapper .history-link) {
120+
max-width: 100%;
113121
overflow: hidden;
114-
text-overflow: ellipsis;
115-
white-space: normal;
116-
word-break: break-word;
117-
line-height: 1.2em;
118-
max-height: 3.6em;
119122
}
123+
120124
</style>

0 commit comments

Comments
 (0)