Skip to content

Commit

Permalink
browser testing and responsiveness tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 24, 2025
1 parent 6b0da62 commit 1f2c01e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/components/copy-to-clipboard-block/ctc-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
padding: 0;
border-radius: var(--radius-2);
position: relative;
top: 60px;
top: 40px;
float: right;
right: 10px;
width: 40px;
Expand Down Expand Up @@ -90,7 +90,6 @@
}

.shell-container {
border: 1px solid var(--color-prism-bg);
background-color: var(--color-prism-bg);
padding: 0 var(--size-2);
border-radius: var(--radius-2);
Expand All @@ -104,7 +103,7 @@
padding: 0;
border-radius: var(--radius-2);
position: relative;
top: 60px;
top: 10px;
float: right;
right: 10px;
width: 40px;
Expand All @@ -120,7 +119,7 @@

.snippet-container:has(.heading) {
& .copy-icon {
top: 80px;
top: 50px;
}
}

Expand All @@ -131,13 +130,19 @@
}

& .copy-icon {
top: -100px;
top: -170px;
}
}

.snippet-container {
& .heading {
font-size: var(--size-3);
font-size: var(--size-4);
}
}

.snippet-container:has(.heading) {
& .copy-icon {
top: 60px;
}
}
}

0 comments on commit 1f2c01e

Please sign in to comment.