Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 2f05808

Browse files
committed
Code cleanup
1 parent ee75639 commit 2f05808

File tree

1 file changed

+2
-0
lines changed
  • src/javascript/app/pages/cashier

1 file changed

+2
-0
lines changed

src/javascript/app/pages/cashier/dp2p.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ const DP2P = (() => {
1515
const shadowed_el_dp2p = el_dp2p_container.attachShadow({ mode: 'closed' });
1616

1717
const el_main_css = document.createElement('style');
18+
// These are styles that are to be injected into the Shadow DOM, so they are in JS and not stylesheets
19+
// They are to be applied to the `:host` selector
1820
el_main_css.innerHTML = `
1921
@import url(${urlForStatic('css/p2p.min.css')});
2022
:host {

0 commit comments

Comments
 (0)