mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 22:27:11 +00:00
Moving javascript disabled warning to top.
This commit is contained in:
parent
9e466ca75b
commit
c10d2f4a76
|
@ -99,9 +99,9 @@ server.get('/*', async (req, res) => {
|
|||
|
||||
<body ${helmet.bodyAttributes.toString()}>
|
||||
<noscript>
|
||||
<nav class="navbar fixed-bottom navbar-light bg-light">
|
||||
Javascript is disabled. Actions will not work.
|
||||
</nav>
|
||||
<div class="alert alert-danger rounded-0" role="alert">
|
||||
Javascript is disabled. Actions will not work.
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<div id='root'>${root}</div>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// import Cookies from 'js-cookie';
|
||||
import IsomorphicCookie from 'isomorphic-cookie';
|
||||
import { User, LoginResponse } from 'lemmy-js-client';
|
||||
import { setTheme } from '../utils';
|
||||
import jwt_decode from 'jwt-decode';
|
||||
import { Subject, BehaviorSubject } from 'rxjs';
|
||||
|
||||
|
|
|
@ -1054,9 +1054,9 @@ function hsl(num: number) {
|
|||
return `hsla(${num}, 35%, 50%, 1)`;
|
||||
}
|
||||
|
||||
function randomHsl() {
|
||||
return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
|
||||
}
|
||||
// function randomHsl() {
|
||||
// return `hsla(${Math.random() * 360}, 100%, 50%, 1)`;
|
||||
// }
|
||||
|
||||
export function previewLines(
|
||||
text: string,
|
||||
|
|
Loading…
Reference in a new issue