Skip to content

Commit

Permalink
💄 Removing css calc and background color. Adding video dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Sep 16, 2024
1 parent 2c5ad7b commit 7db3d2d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions packages/editor-ui/src/components/BinaryDataDisplayEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,16 @@ onMounted(async () => {
</template>

<style lang="scss">
img {
max-height: calc(100% - 1em);
max-width: calc(100% - 1em);
img,
video {
max-height: 100%;
max-width: 100%;
}
.binary-data {
background-color: var(--color-foreground-xlight);
&.other,
&.pdf {
height: calc(100% - 1em);
width: calc(100% - 1em);
height: 100%;
width: 100%;
}
}
</style>

0 comments on commit 7db3d2d

Please sign in to comment.