Add some padding

This commit is contained in:
Half-Shot 2026-02-24 14:30:17 +00:00
parent ca48ea1566
commit 0770a44639
6 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -23,6 +23,10 @@ export interface LinkPreviewAdditionalProps {
export type LinkPreviewProps = UrlPreviewViewSnapshotPreview & LinkPreviewActions & LinkPreviewAdditionalProps;
/**
* LinkPreview renders a single preview component for a single link on an event. It is usually rendered as part of
* a `UrlPreviewGroupView`.
*/
export function LinkPreview({ onImageClick, compactLayout, ...preview }: LinkPreviewProps): JSX.Element {
const { translate: _t } = useI18n();

View File

@ -19,6 +19,7 @@
}
.wrapper {
margin-top: var(--cpd-space-4x);
display: flex;
flex-direction: row;
}

View File

@ -33,12 +33,7 @@ export interface UrlPreviewGroupViewActions {
}
/**
* UrlPreviewGroupView renders a compact event tile with an icon, title, and optional subtitle/content.
*
* @example
* ```tsx
* <UrlPreviewGroupView icon={<Icon />} title="Room created" />
* ```
* UrlPreviewGroupView renders a list of URL previews for a single event.
*/
export function UrlPreviewGroupView({ vm }: UrlPreviewGroupViewProps): JSX.Element | null {
const { translate: _t } = useI18n();