Skip to content

Commit

Permalink
feat: add background color for media thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
prinsss committed Jan 4, 2024
1 parent 17b2215 commit 92ad416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/columns-tweet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const columns = [
{extractTweetMedia(info.row.original).map((media) => (
<div
key={media.media_key}
class="flex-shrink-0 block cursor-pointer relative w-12 h-12 rounded"
class="flex-shrink-0 block cursor-pointer relative w-12 h-12 rounded bg-base-300 overflow-hidden"
onClick={() => info.table.options.meta?.setMediaPreview(getMediaOriginalUrl(media))}
>
<img
Expand Down

0 comments on commit 92ad416

Please sign in to comment.