Update Code.astro styling

This commit is contained in:
Adam Matthiesen 2024-03-09 11:49:39 -08:00
parent 1dc66dfdce
commit fc79f878b3
2 changed files with 9 additions and 5 deletions

View File

@ -0,0 +1,5 @@
---
"@matthiesenxyz/astro-gists": patch
---
fix CSS issue with View Raw Button

View File

@ -57,11 +57,10 @@ if (scriptsToPrepend.length) {
<style> <style>
.raw { .raw {
display: inline-flex; float: inline-end;
position: absolute; background-color: transparent;
z-index: 99; background: transparent;
right: 0; color: black;
color: gray;
padding-top: 2px; padding-top: 2px;
padding-inline-end: 1rem; padding-inline-end: 1rem;
text-decoration: none; text-decoration: none;