fix: Make data pill a button
This commit is contained in:
parent
45954fa637
commit
b999e62cb0
2 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ frappe.scrub = function(text, spacer='_') {
|
|||
|
||||
frappe.get_data_pill = (label, target_id=null, remove_action=null) => {
|
||||
let data_pill_wrapper = $(`
|
||||
<div class="data-pill">
|
||||
<div class="data-pill btn">
|
||||
<span class="pill-label ellipsis">${label}</span>
|
||||
</div>
|
||||
`);
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ body[data-route^="Module"] .main-menu {
|
|||
.remove-btn {
|
||||
margin-left: var(--margin-xs);
|
||||
}
|
||||
background-color: var(--gray-50);
|
||||
background-color: var(--fg-color);
|
||||
border-radius: var(--border-radius);
|
||||
padding: var(--padding-xs) var(--padding-sm);
|
||||
color: $gray-800;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue