Skip to content

Commit

Permalink
Rename CSS file from detail_panel.css to `hotwire_dev_tools_detail_…
Browse files Browse the repository at this point in the history
…panel.css` (#76)

This way its more clear where the CSS file is coming from, when inspecting the network traffic.
  • Loading branch information
leonvogt authored Sep 13, 2024
1 parent e866c55 commit 12581ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"web_accessible_resources": [
{
"resources": ["dist/hotwire_dev_tools_inject_script.js", "styles/detail_panel.css"],
"resources": ["dist/hotwire_dev_tools_inject_script.js", "styles/hotwire_dev_tools_detail_panel.css"],
"matches": ["<all_urls>"]
}
],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lib/devtool.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class Devtool {
detailPanelCSS = async () => {
if (this.detailPanelCSSContent) return this.detailPanelCSSContent

this.detailPanelCSSContent = await loadCSS(chrome.runtime.getURL("styles/detail_panel.css"))
this.detailPanelCSSContent = await loadCSS(chrome.runtime.getURL("styles/hotwire_dev_tools_detail_panel.css"))
return this.detailPanelCSSContent
}

Expand Down

0 comments on commit 12581ef

Please sign in to comment.