Add more spacing for checkboxes in the editor

This commit is contained in:
kolaente 2020-12-08 18:51:46 +01:00
parent c0130b2b48
commit 6c06554ebe
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -353,11 +353,11 @@ export default {
const taskId = parseInt(parts[1]) const taskId = parseInt(parts[1])
const attachmentId = parseInt(parts[3]) const attachmentId = parseInt(parts[3])
const attachment = new AttachmentModel({taskId: taskId, id: attachmentId}) const attachment = new AttachmentModel({taskId: taskId, id: attachmentId})
if (this.attachmentService === null) { if (this.attachmentService === null) {
this.attachmentService = new AttachmentService() this.attachmentService = new AttachmentService()
} }
this.attachmentService.getBlobUrl(attachment) this.attachmentService.getBlobUrl(attachment)
.then(url => { .then(url => {
img.src = url img.src = url
@ -411,6 +411,10 @@ export default {
.tabs ul { .tabs ul {
margin-left: 0; margin-left: 0;
} }
.preview.content ul li input[type="checkbox"] {
margin-right: .5rem;
}
} }
.CodeMirror { .CodeMirror {