Merge pull request #33319 from sokumon/small-ui-fixes

fix(minor): UI fixes
This commit is contained in:
Soham Kulkarni 2025-07-14 19:05:43 +05:30 committed by GitHub
commit 7b49f1a79c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -47,6 +47,7 @@ frappe.ui.form.on("File", {
$preview = $(`<div class="img_preview">
<img
class="img-responsive"
style="max-width: 500px";
src="${frappe.utils.escape_html(frm.doc.file_url)}"
onerror="${frm.toggle_display("preview", false)}"
/>

View file

@ -45,11 +45,9 @@
text-decoration: none;
}
.applied {
position: absolute;
left: 10px;
.icon use {
stroke-width: 2;
}
display: flex;
align-items: center;
margin-right: 5px;
}
}
.empty-state {