Skip to content

Commit

Permalink
Merge pull request #249 from nextcloud/backport/247/stable0.4
Browse files Browse the repository at this point in the history
[stable0.4] bugfix: #207 fix css to display checkbox labels inline
  • Loading branch information
Florian authored Apr 26, 2023
2 parents f1a3a0a + eb4cf7f commit 935cd1e
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/shared/components/ncTable/partials/TableCellHtml.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="value" v-html="value" />
<div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="value" class="tiptap-reader-cell" v-html="value" />
</div>
</template>

<script>
Expand All @@ -24,15 +26,24 @@ export default {
}
</script>

<style scoped>
<style scoped lang="scss">
div {
:deep(.tiptap-reader-cell) {
max-height: calc(var(--default-line-height) * 6);
overflow-y: scroll;
min-width: 100px;
white-space: pre-wrap;
margin-top: calc(var(--default-grid-baseline) * 2);
margin-bottom: calc(var(--default-grid-baseline) * 2);
li {
display: flex;
align-items: center;
}
li > div {
padding-left: calc(var(--default-grid-baseline) * 2);
}
}
</style>

0 comments on commit 935cd1e

Please sign in to comment.