1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-22 02:12:38 +01:00

more embed gap stuff

This commit is contained in:
Puyodead1 2023-09-22 10:55:04 -04:00
parent 981f73bb6c
commit c553c6c1e9
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE
2 changed files with 10 additions and 3 deletions

View File

@ -2,6 +2,13 @@
margin: 0.2em 0;
}
.embedGap {
display: flex;
flex: 1;
flex-direction: column;
gap: 10px;
}
iframe {
border: none;
border-radius: 4px;

View File

@ -92,9 +92,9 @@ function MessageEmbed({ embed }: Props) {
maxWidth: width + CONTAINER_PADDING,
}}
>
<div style={{ flex: 1, display: "flex", gap: 10, flexDirection: "column" }}>
<div>
<div>
<div className={styles.embedGap}>
<div style={{ display: "flex" }}>
<div className={styles.embedGap}>
{embed.type !== EmbedType.Rich && embed.provider && (
<span className={styles.embedProvider}>{embed.provider.name}</span>
)}