mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Fix link preview radius
This commit is contained in:
parent
43090ce0c3
commit
c8517c94e9
@ -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 {
|
||||
|
@ -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}>
|
||||
|
Loading…
Reference in New Issue
Block a user