diff --git a/src/components/messaging/Embed.module.css b/src/components/messaging/Embed.module.css index 776fd27..41ea2b8 100644 --- a/src/components/messaging/Embed.module.css +++ b/src/components/messaging/Embed.module.css @@ -17,6 +17,7 @@ iframe { .embedImage { cursor: pointer; + border-radius: 8px; } .website { @@ -159,6 +160,7 @@ iframe { .embedThumbnail { margin-left: 16px; + border-radius: 8px; } img.image { @@ -170,3 +172,19 @@ img.image { a { cursor: pointer; } + +.embedGifIcon { + position: absolute; + top: 5px; + left: 5px; +} + +.embedGifIconBg { + position: absolute; + top: 8px; + left: 8px; + width: 18px; + height: 18px; + background: #000000; + border-radius: 4px; +} diff --git a/src/components/messaging/EmbedMedia.tsx b/src/components/messaging/EmbedMedia.tsx index 125809b..03863de 100644 --- a/src/components/messaging/EmbedMedia.tsx +++ b/src/components/messaging/EmbedMedia.tsx @@ -3,6 +3,7 @@ import { APIEmbed, EmbedType } from "@spacebarchat/spacebar-api-types/v9"; import { modalController } from "../../controllers/modals"; +import Icon from "../Icon"; import styles from "./Embed.module.css"; interface Props { @@ -31,7 +32,7 @@ function EmbedMedia({ embed, width, height, thumbnail }: Props) { return (