Skip to content

Commit

Permalink
fix: apply css to specific fields
Browse files Browse the repository at this point in the history
(cherry picked from commit a14e922)
  • Loading branch information
Ninad1306 authored and mergify[bot] committed Oct 16, 2024
1 parent c2531ca commit 4021e06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 8 additions & 1 deletion india_compliance/gst_india/client_scripts/stock_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@ frappe.ui.form.on(DOCTYPE, {
);
},

refresh() {
refresh(frm) {
frm.get_field("bill_to_address_display")
.$wrapper.find(".ql-editor")
.css("white-space", "normal");
frm.get_field("bill_from_address_display")
.$wrapper.find(".ql-editor")
.css("white-space", "normal");

if (!gst_settings.enable_e_waybill || !gst_settings.enable_e_waybill_for_sc)
return;

Expand Down
2 changes: 0 additions & 2 deletions india_compliance/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
setup_wizard_stages = "india_compliance.setup_wizard.get_setup_wizard_stages"

app_include_js = "india_compliance.bundle.js"
app_include_css = "india_compliance.bundle.css"


doctype_js = {
"Address": "gst_india/client_scripts/address.js",
Expand Down
3 changes: 0 additions & 3 deletions india_compliance/public/scss/india_compliance.bundle.scss

This file was deleted.

0 comments on commit 4021e06

Please sign in to comment.