Fix few markup inconsistencies

This commit is contained in:
Pleroma User 2025-02-10 21:20:56 +00:00 committed by HJ
commit 3627aadead
14 changed files with 365 additions and 324 deletions

View file

@ -2,6 +2,9 @@ const TermsOfServicePanel = {
computed: {
content () {
return this.$store.state.instance.tos
},
embedded () {
return this.$store.state.instance.embeddedToS
}
}
}

View file

@ -1,13 +1,21 @@
<template>
<div>
<div class="terms-of-service-panel">
<div class="panel panel-default">
<div
v-if="!embedded"
class="panel-heading -sticky"
>
<div class="title">
{{ $t("about.terms") }}
</div>
</div>
<div class="panel-body">
<!-- eslint-disable vue/no-v-html -->
<div
class="tos-content"
v-html="content"
/>
<!-- eslint-enable vue/no-v-html -->
<!-- eslint-enable vue/no-v-html -->
</div>
</div>
</div>
@ -19,4 +27,5 @@
.tos-content {
margin: 1em;
}
</style>