fix: misalignment of attachment icon and title (#29086)

This commit is contained in:
Ejaaz Khan 2025-01-08 20:40:47 +05:30 committed by GitHub
parent b8aea5fbcf
commit b53fbd3fba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -147,7 +147,7 @@ frappe.ui.form.Attachments = class Attachments {
};
}
const icon = `<a href="/app/file/${fileid}">
const icon = `<a href="/app/file/${fileid}" class="attachment-icon">
${frappe.utils.icon(attachment.is_private ? "es-line-lock" : "es-line-unlock", "sm ml-0")}
</a>`;

View file

@ -766,6 +766,9 @@ body {
margin-left: var(--margin-xs);
text-align: left;
}
.attachment-icon {
line-height: 0;
}
}
}