Fix styling bug in text element
This commit is contained in:
parent
c177097234
commit
228def84b4
|
|
@ -7,21 +7,20 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {sanitize} from '@/helpers/text';
|
||||
|
||||
export default {
|
||||
props: ['value'],
|
||||
|
||||
computed: {
|
||||
sanitizedText() {
|
||||
return sanitize(this.value.text);
|
||||
// todo: we can't just sanitize, because there are some elements in there that come from the server
|
||||
return this.value.text;
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "@/styles/_variables.scss";
|
||||
@import "~styles/_variables.scss";
|
||||
|
||||
.text-block {
|
||||
margin-bottom: $medium-spacing; // if calc is not supported
|
||||
|
|
|
|||
Loading…
Reference in New Issue