fix: misalignment of attachment icon and title (#29086)
This commit is contained in:
parent
b8aea5fbcf
commit
b53fbd3fba
2 changed files with 4 additions and 1 deletions
|
|
@ -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>`;
|
||||
|
||||
|
|
|
|||
|
|
@ -766,6 +766,9 @@ body {
|
|||
margin-left: var(--margin-xs);
|
||||
text-align: left;
|
||||
}
|
||||
.attachment-icon {
|
||||
line-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue