refactor: client files

This commit is contained in:
Bill Church 2022-05-11 10:36:47 -04:00
parent ffab5345dc
commit d835d919f3
3 changed files with 6 additions and 7 deletions

File diff suppressed because one or more lines are too long

View file

@ -176,7 +176,6 @@
body, html {
font-family: helvetica, sans-serif, arial;
font-size: 1em;
color: #111;
background-color: rgb(0, 0, 0);
color: rgb(240, 240, 240);
height: 100%;
@ -201,7 +200,7 @@ body, html {
}
#terminal-container {
display: block;
width: calc(100% - 1 px);
width: calc(100% - 1px);
margin: 0 auto;
padding: 2px;
height: calc(100% - 19px);
@ -314,7 +313,7 @@ body, html {
.dropup:hover .dropup-content {
display: block;
}
.dropup:click .dropup-content {
.dropup:active .dropup-content {
display: block;
}
.dropup:hover .dropbtn {

View file

@ -8,8 +8,8 @@ import { faBars, faClipboard, faDownload, faKey, faCog } from '@fortawesome/free
// for Internet Explorer compatibility... i know gross...
declare global {
interface Navigator {
msSaveBlob?: (blob: any, defaultName?: string) => boolean
msSaveOrOpenBlob?: (blob: any, defaultName?: string) => boolean
msSaveBlob?: (blob: any, defaultName?: string) => boolean;
msSaveOrOpenBlob?: (blob: any, defaultName?: string) => boolean;
}
}
@ -78,7 +78,7 @@ function downloadLog () { // eslint-disable-line
[
sessionLog.replace(
// eslint-disable-next-line no-control-regex
/[\u001b\u009b][[\]()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><;]/g,
/[\u001b\u009b][[\]()#;?]*(?:\d{1,4}(?:;\d{0,4})*)?[0-9A-ORZcf-nqry=><;]/g,
''
),
],