From: PhiTux Date: Mon, 29 Sep 2025 17:36:33 +0000 (+0200) Subject: css fixes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a0b9fc90f7b9915abdd59d4374bf132a33e591cf;p=DailyTxT.git css fixes --- diff --git a/frontend/src/lib/ALookBack.svelte b/frontend/src/lib/ALookBack.svelte index c2d218f..1b412fe 100644 --- a/frontend/src/lib/ALookBack.svelte +++ b/frontend/src/lib/ALookBack.svelte @@ -42,8 +42,8 @@ - + {#if editable} + + {/if} - {/if} - - {#if editable} - - {/if} - + - {#if editable && openOptionsMenu === file.uuid_filename} -
-
-
- - -
- {#if editingFilename === file.uuid_filename} - { - if (e.key === 'Enter') { - if (renameFile) { - renameFile(file.uuid_filename, newFilename); + {#if editable && openOptionsMenu === file.uuid_filename} +
+
+ + +
+ {#if editingFilename === file.uuid_filename} + { + if (e.key === 'Enter') { + if (renameFile) renameFile(file.uuid_filename, newFilename); + editingFilename = null; + openOptionsMenu = null; + } else if (e.key === 'Escape') { + editingFilename = null; } + }} + /> + + + {:else} + + + {/if} +
+
+
- - {:else} - - - {/if} +
- -
- -
- -
-
-
- {/if} -{/each} + {/if} + {/each} +
+{/if} diff --git a/frontend/src/lib/ImageViewer.svelte b/frontend/src/lib/ImageViewer.svelte index 60d8be0..b2c7526 100644 --- a/frontend/src/lib/ImageViewer.svelte +++ b/frontend/src/lib/ImageViewer.svelte @@ -220,6 +220,8 @@ gap: 1rem; overflow-x: auto; padding: 0.5rem 0; + height: 116px; + min-height: 116px; } .image-container { diff --git a/frontend/src/lib/Sidenav.svelte b/frontend/src/lib/Sidenav.svelte index 61914f4..c8014a8 100644 --- a/frontend/src/lib/Sidenav.svelte +++ b/frontend/src/lib/Sidenav.svelte @@ -427,6 +427,12 @@ margin-bottom: 3rem; } + @media (max-height: 800px) { + :global(.datepicker) { + margin-bottom: 1rem; + } + } + .noResult { font-size: 25pt; font-weight: 750; @@ -453,7 +459,8 @@ :global(.popover-body) { overflow-y: auto; - max-height: 550px; + /* max-height: 550px; */ + max-height: 90vh; } .searchTagDropdown { diff --git a/frontend/src/routes/(authed)/+layout.svelte b/frontend/src/routes/(authed)/+layout.svelte index 0e7265a..e27935a 100644 --- a/frontend/src/routes/(authed)/+layout.svelte +++ b/frontend/src/routes/(authed)/+layout.svelte @@ -1167,7 +1167,7 @@ {#key page.data}
diff --git a/frontend/src/routes/(authed)/write/+page.svelte b/frontend/src/routes/(authed)/write/+page.svelte index 9c2cee2..18a628f 100644 --- a/frontend/src/routes/(authed)/write/+page.svelte +++ b/frontend/src/routes/(authed)/write/+page.svelte @@ -1166,7 +1166,7 @@
-
+
{#if $alwaysShowSidenav}
@@ -1234,7 +1234,7 @@ {/if} {#if $settings.useALookBack && aLookBack.length > 0} -
+
{#each aLookBack as log} {/each} @@ -1349,14 +1349,17 @@ > - +
+ +
+ {#each uploadingFiles as file}
{file.name} @@ -1770,6 +1773,11 @@