Skip to content

Commit

Permalink
Minor UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
corrideat committed Jun 26, 2024
1 parent c6a29f6 commit 6005591
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exact-realty/cms-ep-sfx",
"version": "1.0.5",
"version": "1.0.6",
"description": "Secure File Sharing Utility",
"type": "module",
"main": "-",
Expand Down
7 changes: 0 additions & 7 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,3 @@
#ERROR_ELEMENT__ {
display: none;
}

/* Needed to make footer stick to the bottom */
.app-container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
7 changes: 5 additions & 2 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
@tailwind components;
@tailwind utilities;
.main_ {
@apply h-full min-h-screen w-full bg-slate-300 py-1 text-slate-800;
/* Needed to make footer stick to the bottom */
.app-container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
</style>
2 changes: 1 addition & 1 deletion src/loader.inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
if (!mainScript$ || !(mainScript$ instanceof HTMLScriptElement)) {
throw new Error('Missing main script element');
}
mainScript$.remove();
mainScript$.parentNode?.removeChild(mainScript$);
const text = atob(mainScript$.text.replace(/[^a-zA-Z0-9+/=]/g, ''));
const blob = new Blob([text], { ['type']: 'text/javascript' });
const script$ = document.createElementNS(ns, 'script');
Expand Down
2 changes: 1 addition & 1 deletion src/pages/encrypt.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
>
<legend class="sr-only">File configuration</legend>
<label class="label">
<span>File name</span>
<span>Override file name</span>
<input
on:input={handleFileNameInput}
name={EFormFields.FILENAME}
Expand Down

0 comments on commit 6005591

Please sign in to comment.