Skip to content

Commit

Permalink
arweave logo and youtube embed css
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Sep 24, 2024
1 parent 4727145 commit 7b2330d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/chat/ChatMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
</span>
<span v-if="message?.url">
·
<a class="link-without-color hover-color" :href="getArweaveUrl" target="_blank"><i class="bi bi-badge-ar"></i></a>
<a class="link-without-color hover-color" :href="getArweaveUrl" target="_blank">
<span style="font-size: 0.9em;">ⓐ</span>
</a>
</span>
</p>

Expand Down
5 changes: 5 additions & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,11 @@ a:hover {
.sidebar-nav {
width: 260px;
}

.youtube-embed {
max-width: 560px;
max-height: 340px;
}
}

/* Mobile only */
Expand Down
2 changes: 1 addition & 1 deletion utils/textUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ export function youtubeParsing(text) {
)[1]

return (
"<iframe class='rounded' width='100%' height='315' src='https://www.youtube.com/embed/" +
"<iframe class='rounded youtube-embed' width='100%' height='315' src='https://www.youtube.com/embed/" +
videoId +
"' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; web-share' allowfullscreen></iframe>"
)
Expand Down

0 comments on commit 7b2330d

Please sign in to comment.