You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/src/uix/blocks/logo-cloud/logo-cloud-items.svelte

19 lines
651 B

<script lang="ts">
/**
* LogoCloud.Items — the flow line the marks lay out in.
*
* A `Wrap` and NOT an `AutoGrid`, measured rather than chosen: logos arrive in
* wildly different aspect ratios, so equal tracks leave ragged holes around the
* narrow ones and the wall reads as a broken table. A flow line centres what
* fits and wraps the rest.
*/
import { Wrap } from '$uix/eidos/components/wrap';
import type { LogoCloudItemsProps } from './types';
let { gap = 10, children, ...rest }: LogoCloudItemsProps = $props();
</script>
<Wrap {gap} align="center" justify="center" width="100%" {...rest}>
{@render children?.()}
</Wrap>

Powered by TurnKey Linux.