Skip to content

Commit 994cfc9

Browse files
authored
Improved click area and layout of copy URL thing
And I didn't even get an LLM to write this for me!
1 parent 4f05f62 commit 994cfc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

youtube-thumbnails.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
display: flex;
5151
align-items: center;
5252
justify-content: center;
53+
cursor: pointer;
5354
}
5455
.copy-icon {
55-
margin-left: 5px;
56-
cursor: pointer;
56+
margin-right: 10px;
5757
}
5858
</style>
5959
</head>
@@ -86,9 +86,9 @@ <h1>YouTube Thumbnail Viewer</h1>
8686
<div class="thumbnail">
8787
<img src="${imageUrl}" alt="Thumbnail ${type}" onclick="toggleExpand(this)">
8888
<p class="image-size"></p>
89-
<div class="thumbnail-url">
89+
<div class="thumbnail-url" onclick="copyText('${imageUrl}')">
90+
<span class="copy-icon">📋</span>
9091
<span>${imageUrl}</span>
91-
<span class="copy-icon" onclick="copyText('${imageUrl}')">📋</span>
9292
</div>
9393
</div>
9494
`;

0 commit comments

Comments
 (0)