UI: Move noscript styles to header include

Reusability
This commit is contained in:
Dennis Reimann 2020-09-28 12:07:41 +02:00
parent 4d4459fa4e
commit 39be605459
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0
2 changed files with 7 additions and 7 deletions

View file

@ -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>

View file

@ -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">