mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
UI: Move noscript styles to header include
Reusability
This commit is contained in:
parent
4d4459fa4e
commit
39be605459
2 changed files with 7 additions and 7 deletions
|
@ -21,3 +21,10 @@
|
|||
<bundle name="wwwroot/bundles/main-bundle.min.css" asp-append-version="true" />
|
||||
@* JS *@
|
||||
<bundle name="wwwroot/bundles/main-bundle.min.js" asp-append-version="true" />
|
||||
@* Non-JS *@
|
||||
<noscript>
|
||||
<style>
|
||||
.hide-when-js { display: block !important; }
|
||||
.only-for-js { display: none !important; }
|
||||
</style>
|
||||
</noscript>
|
||||
|
|
|
@ -12,13 +12,6 @@
|
|||
|
||||
@RenderSection("HeadScripts", required: false)
|
||||
@RenderSection("HeaderContent", false)
|
||||
|
||||
<noscript>
|
||||
<style>
|
||||
.hide-when-js { display: block !important; }
|
||||
.only-for-js { display: none !important; }
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
|
||||
<body id="page-top">
|
||||
|
|
Loading…
Add table
Reference in a new issue