Handle long title in support tickets

pull/1/head
yflory 4 years ago
parent b2ca3fa448
commit 687bb36e0e

@ -83,6 +83,14 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
span:first-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cp-support-title-buttons {
flex-shrink: 0;
}
} }
.cp-support-collapsed { .cp-support-collapsed {
display: flex; display: flex;

@ -269,7 +269,10 @@ define([
'data-cat': content.category, 'data-cat': content.category,
'data-id': content.id 'data-id': content.id
}, [ }, [
h('h2', [ticketCategory, ticketTitle, h('span.cp-support-title-buttons',url)]), h('h2', [
h('span', [ticketCategory, ticketTitle]),
h('span.cp-support-title-buttons',url)
]),
actions actions
])); ]));

Loading…
Cancel
Save