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:
parent
981f73bb6c
commit
c553c6c1e9
@ -2,6 +2,13 @@
|
||||
margin: 0.2em 0;
|
||||
}
|
||||
|
||||
.embedGap {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
|
@ -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>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user