fix: Make data pill a button

This commit is contained in:
Suraj Shetty 2020-07-21 12:19:45 +05:30
parent 45954fa637
commit b999e62cb0
2 changed files with 2 additions and 2 deletions

View file

@ -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>
`);

View file

@ -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;