mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-30 20:24:26 +01:00
UI: Move noscript styles to header include
Reusability
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user