styling glitches
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
031a296dac
Коммит
4d1acdf6f8
|
@ -37,12 +37,12 @@ export default {
|
|||
|
||||
computed: {
|
||||
...mapState({
|
||||
descriptionSafe: state => state.poll.descriptionSafe,
|
||||
description: state => state.poll.descriptionSafe,
|
||||
}),
|
||||
|
||||
markedDescription() {
|
||||
if (this.descriptionSafe) {
|
||||
return DOMPurify.sanitize(marked(this.descriptionSafe))
|
||||
if (this.description) {
|
||||
return DOMPurify.sanitize(marked(this.description))
|
||||
} else {
|
||||
return t('polls', 'No description provided')
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
class="error" />
|
||||
</h2>
|
||||
|
||||
<div class="area__header__description">
|
||||
<div class="description">
|
||||
<MarkUpDescription />
|
||||
<OptionProposals v-if="acl.allowAddOptions && proposalsAllowed" />
|
||||
</div>
|
||||
|
@ -227,7 +227,7 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.area__header__description {
|
||||
.description {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче