Fix link preview radius

This commit is contained in:
Bojan Mojsilovic 2024-02-06 16:41:42 +01:00
parent 43090ce0c3
commit c8517c94e9
2 changed files with 6 additions and 8 deletions

View File

@ -10,7 +10,6 @@
background-color: var(--background-input);
text-align: left;
margin-top: 8px;
padding: 2px 2px 4px 2px;
&:hover {
text-decoration: none !important;
@ -62,8 +61,7 @@
}
.previewInfo {
padding-inline: 14px;
padding-block: 9px;
padding: 11px 11px 18px 11px;
}
.previewImage {

View File

@ -55,11 +55,11 @@ const LinkPreview: Component<{ preview: any, id?: string, bordered?: boolean }>
target="_blank"
>
<Show when={image()}>
<img
class={styles.previewImage}
src={image()?.media_url}
style={`width: 100%; height: ${height()}`}
/>
<img
class={styles.previewImage}
src={image()?.media_url}
style={`width: 100%; height: ${height()}`}
/>
</Show>
<div class={styles.previewInfo}>