0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00

fix(web): Admin Settings banner/scrolling issue (#6839)

* Fixed settings page sizing causing scroll behavior when config message present

* Applied prettier to modified page
This commit is contained in:
Andrew Roberts 2024-02-01 13:05:30 -08:00 committed by GitHub
parent 81cf653752
commit 606147be43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,10 +129,13 @@
]; ];
</script> </script>
<div class="h-svh flex flex-col overflow-hidden">
{#if $featureFlags.configFile} {#if $featureFlags.configFile}
<div class="mb-8 flex flex-row items-center gap-2 rounded-md bg-gray-100 p-3 dark:bg-gray-800"> <div class="flex flex-row items-center gap-2 bg-gray-100 p-3 dark:bg-gray-800">
<Icon path={mdiAlert} class="text-yellow-400" size={18} /> <Icon path={mdiAlert} class="text-yellow-400" size={18} />
<h2 class="text-md text-immich-primary dark:text-immich-dark-primary">Config is currently set by a config file</h2> <h2 class="text-md text-immich-primary dark:text-immich-dark-primary">
Config is currently set by a config file
</h2>
</div> </div>
{/if} {/if}
@ -172,3 +175,4 @@
</section> </section>
</AdminSettings> </AdminSettings>
</UserPageLayout> </UserPageLayout>
</div>