This commit is contained in:
teh_coderer
2023-05-03 17:10:52 -04:00
parent 6a81b0baee
commit 62ee6d6b4b
3 changed files with 39 additions and 21 deletions

View File

@@ -54,15 +54,13 @@
._header {
background: #062d48;
background: linear-gradient(
90deg,
#062d48,
#0b3054 15%,
#0e386c 45%,
#0b203d 64%,
#06101a 82%,
#060709
);
background: linear-gradient(90deg,
#062d48,
#0b3054 15%,
#0e386c 45%,
#0b203d 64%,
#06101a 82%,
#060709);
}
/* custom scrollbar */
@@ -89,9 +87,10 @@
background: rgba(0, 0, 0, 0);
}
body, html {
body,
html {
height: 100%;
overflow:hidden;
overflow: hidden;
background: #000;
}
@@ -187,7 +186,10 @@ code {
margin-left: 45px;
}
._modal {font-size: 0.65rem !important; animation: popup 0.3s ease-in-out;}
._modal {
font-size: 0.65rem !important;
animation: popup 0.3s ease-in-out;
}
#changecolor {
position: absolute;
@@ -317,7 +319,12 @@ code {
}
@media screen and (max-width: 900px) {
._modal {font-size: 0.65rem !important; animation: popup 0.3s ease-in-out; height: 70% !important; overflow: auto !important;}
._modal {
font-size: 0.65rem !important;
animation: popup 0.3s ease-in-out;
height: 70% !important;
overflow: auto !important;
}
}
.modebar-group {
@@ -481,3 +488,18 @@ code {
background-color: #1f1f1f !important;
border-radius: 8px;
}
@media screen and (max-height: 1000px) and (max-width: 1100px) {
._header strong {
font-size: 0.8rem !important;
}
._header p {
font-size: 0.7rem !important;
}
._header span {
font-size: 0.5rem !important;
}
}

View File

@@ -179,12 +179,8 @@ export async function downloadData(columns: any, data: any) {
let fileHandle = await getNewFileHandle({
filename: filename,
});
let ext: string = "png";
if (fileHandle !== null) {
// @ts-ignore
ext = fileHandle.name.split(".").pop();
}
await loadingOverlay(`Saving ${ext.toUpperCase()}`);
await loadingOverlay("Saving CSV");
await new Promise((resolve) => setTimeout(resolve, 1500));
non_blocking(async function () {
// @ts-ignore

File diff suppressed because one or more lines are too long