fix update-app description style

This commit is contained in:
Mohit Panjwani
2020-12-08 20:27:05 +05:30
parent f7a823e9bc
commit ab1ed269fd
4 changed files with 16 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{ {
"/assets/js/app.js": "/assets/js/app.js?id=68393d0f3c4030712b60", "/assets/js/app.js": "/assets/js/app.js?id=266a3a761d18a0b0839e",
"/assets/css/crater.css": "/assets/css/crater.css?id=262352bd0c724bad8f2f" "/assets/css/crater.css": "/assets/css/crater.css?id=180193a313e33aed1712"
} }

View File

@ -47,12 +47,12 @@
> >
{{ updateData.version }} {{ updateData.version }}
</label> </label>
<p <div
class="mb-8 text-sm leading-snug text-gray-500" class="pl-5 mt-4 mb-8 text-sm leading-snug text-gray-500 update-description"
style="white-space: pre-wrap; max-width: 480px" style="white-space: pre-wrap; max-width: 480px"
v-html="description" v-html="description"
> ></div>
</p>
<label class="text-sm not-italic font-medium input-label"> <label class="text-sm not-italic font-medium input-label">
{{ $t('settings.update_app.requirements') }} {{ $t('settings.update_app.requirements') }}
</label> </label>
@ -211,7 +211,7 @@ export default {
}, },
hasUiUpdate() { hasUiUpdate() {
return this.updateData.version != '4.0.0' return this.updateData.version != '4.0.0'
} },
}, },
created() { created() {
window.addEventListener('beforeunload', (event) => { window.addEventListener('beforeunload', (event) => {
@ -358,3 +358,10 @@ export default {
}, },
} }
</script> </script>
<style>
.update-description ul li {
list-style: disc !important;
margin-bottom: 4px;
}
</style>