diff --git a/src/lib/layout/container.svelte b/src/lib/layout/container.svelte index ffc83085b6..dec3ca9861 100644 --- a/src/lib/layout/container.svelte +++ b/src/lib/layout/container.svelte @@ -13,6 +13,7 @@ databasesScreen = false, databasesMainScreen = false, expandHeightButton = false, + disableMarginBlock = false, size = null, children, ...restProps @@ -26,6 +27,7 @@ databasesScreen?: boolean; databasesMainScreen?: boolean; expandHeightButton?: boolean; + disableMarginBlock?: boolean; children?: Snippet; size?: 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | null; } & HTMLAttributes = $props(); @@ -46,6 +48,7 @@ class:databasesScreen class:expandHeightButton class:databasesMainScreen + class:disableMarginBlock class="console-container" class:paddingInlineEndDouble class:paddingInlineEnd={!paddingInlineEnd}> @@ -62,6 +65,9 @@ } :global(.console-container) { margin-block: var(--base-32); + &.disableMarginBlock { + margin-block: unset; + } &.insideSideSheet { margin-block: var(--base-20); diff --git a/src/routes/(console)/project-[region]-[project]/settings/updateInstallations.svelte b/src/routes/(console)/project-[region]-[project]/settings/updateInstallations.svelte index 5d61cf6a46..f565c12737 100644 --- a/src/routes/(console)/project-[region]-[project]/settings/updateInstallations.svelte +++ b/src/routes/(console)/project-[region]-[project]/settings/updateInstallations.svelte @@ -2,6 +2,7 @@ import { goto } from '$app/navigation'; import { page } from '$app/state'; import { Avatar, CardGrid, PaginationInline } from '$lib/components'; + import { Container } from '$lib/layout'; import { Button as FormButton } from '$lib/elements/forms'; import { getApiEndpoint } from '$lib/stores/sdk'; import type { Models } from '@appwrite.io/console'; @@ -95,7 +96,7 @@ Add installation - + {/each} + {#if total > limit}

Total installations: {total}

diff --git a/src/routes/(console)/project-[region]-[project]/updateVariables.svelte b/src/routes/(console)/project-[region]-[project]/updateVariables.svelte index 6ef2bc04cc..d3905f99cb 100644 --- a/src/routes/(console)/project-[region]-[project]/updateVariables.svelte +++ b/src/routes/(console)/project-[region]-[project]/updateVariables.svelte @@ -41,6 +41,7 @@ import { Confirm } from '$lib/components'; import { resolveRoute, withPath } from '$lib/stores/navigation'; import { isSmallViewport } from '$lib/stores/viewport'; + import Container from '$lib/layout/container.svelte'; export let project: Models.Project; export let variableList: Models.VariableList; @@ -457,6 +458,7 @@

{/if} + Key @@ -559,7 +561,7 @@ {/each} - + {#if sum > (backendPagination ? variablesLimit : limit)}

Total variables: {sum}

@@ -658,4 +660,4 @@ text-overflow: ellipsis; white-space: nowrap; } - + \ No newline at end of file