mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-19 20:33:06 +05:30
(feat/fixed): added copy embeded code snippet button and fixed copy message text spacing
This commit is contained in:
@@ -125,7 +125,8 @@
|
||||
<botton class="shareitems w-10 h-10 flex justify-center items-center bg-bg_secondary rounded-full cursor-pointer hover:bg-bg_third transition transform duration-500" title="More sharing options" onclick="call_webshare_api()"><i class="fa-solid fa-ellipsis text-accent_primary"></i></botton>
|
||||
</div>
|
||||
<p class="text-xs my-3 text-accent_three">EMBED THIS PAGE</p>
|
||||
<div class="embedpagecode w-full bg-bg_primary p-4 rounded-lg">
|
||||
<div class="embedpagecode w-full bg-bg_primary p-4 rounded-lg relative">
|
||||
<button class="copyembedcode absolute top-3 right-3 px-3 py-2 bg-bg_secondary rounded-lg" title="Copy code snippet"><i class="fa-regular fa-copy"></i></button>
|
||||
<pre class="text-accent_four text-xs whitespace-pre-wrap"><code id="embedcodetag"><iframe src="https://neosubhamoy.dev" height="200" width="300" title="test iframe"></iframe></code></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -547,6 +547,10 @@ video {
|
||||
bottom: -10rem;
|
||||
}
|
||||
|
||||
.bottom-\[20vh\] {
|
||||
bottom: 20vh;
|
||||
}
|
||||
|
||||
.bottom-\[5\.5rem\] {
|
||||
bottom: 5.5rem;
|
||||
}
|
||||
@@ -599,10 +603,6 @@ video {
|
||||
top: 20.5rem;
|
||||
}
|
||||
|
||||
.top-\[20vh\] {
|
||||
top: 20vh;
|
||||
}
|
||||
|
||||
.top-\[30vh\] {
|
||||
top: 30vh;
|
||||
}
|
||||
@@ -611,12 +611,16 @@ video {
|
||||
top: 4.7rem;
|
||||
}
|
||||
|
||||
.bottom-\[10vh\] {
|
||||
bottom: 10vh;
|
||||
.right-3 {
|
||||
right: 0.75rem;
|
||||
}
|
||||
|
||||
.bottom-\[20vh\] {
|
||||
bottom: 20vh;
|
||||
.top-3 {
|
||||
top: 0.75rem;
|
||||
}
|
||||
|
||||
.right-4 {
|
||||
right: 1rem;
|
||||
}
|
||||
|
||||
.z-10 {
|
||||
@@ -862,10 +866,6 @@ video {
|
||||
margin-top: 30vh;
|
||||
}
|
||||
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
@@ -946,18 +946,6 @@ video {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.h-\[80\%\] {
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.h-\[90\%\] {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
.h-\[70\%\] {
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
.w-0 {
|
||||
width: 0px;
|
||||
}
|
||||
@@ -1143,10 +1131,6 @@ video {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.break-words {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.rounded {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
@@ -1269,6 +1253,11 @@ video {
|
||||
background-color: rgb(30 41 59 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.bg-bg_third {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(38 51 74 / var(--tw-bg-opacity));
|
||||
}
|
||||
|
||||
.bg-gradient-to-r {
|
||||
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user