Skip to content

Commit

Permalink
Merge pull request #31 from utomic-media/fix/display-in-relational-ov…
Browse files Browse the repository at this point in the history
…erflow

Fix overflowing display in render-templates
  • Loading branch information
Dominic-Marcelino committed Mar 24, 2023
2 parents c6bc826 + 74fb0d8 commit f777f4b
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 f777f4b

Please sign in to comment.