Skip to content

Commit

Permalink
Fix overflowing display in render-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic-Marcelino committed Mar 24, 2023
1 parent c6bc826 commit 74fb0d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/display/display.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ const actionTooltip = computed(() => {
}
}
}
.render-template:has(.action-display) {
// if the display is in the render template we need to use flex on it
// NOTE: this could be optimized, as this way the default "text-overflow: ellapsis" is not working, but it should be fine for 98% of the use-cases
display: flex;
align-items: center;
}
</style>

<style lang="scss" scoped>
Expand Down

0 comments on commit 74fb0d8

Please sign in to comment.