Skip to content

Commit

Permalink
make button smaller cc @jeroen
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Oct 13, 2023
1 parent 56798e1 commit 6c63732
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/ropensci/layouts/partials/skeleton/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<meta http-equiv="X-UA-Compatible" content="ie=edge" />
{{ $css := resources.Get "main.min.css" }}
<link rel="stylesheet" type ="text/css" href="copypaste.css">
<link rel="stylesheet" type ="text/css" href="/copypaste.css">
{{ $secureCSS := $css | resources.Fingerprint "sha512" }}
<link href="{{ $secureCSS.Permalink }}" rel="stylesheet" integrity="{{ $secureCSS.Data.Integrity }}">
<link
Expand Down
8 changes: 6 additions & 2 deletions themes/ropensci/static/copypaste.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
pre {
position: relative;
}
button.btn.copy-button {
button.copy-button {
display: inline-block;
position: absolute;
font-size: 10px;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-left: 0.1 !important;
padding-right: 0.1 !important;
}

0 comments on commit 6c63732

Please sign in to comment.