Merge pull request #33319 from sokumon/small-ui-fixes
fix(minor): UI fixes
This commit is contained in:
commit
7b49f1a79c
2 changed files with 4 additions and 5 deletions
|
|
@ -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)}"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue