Skip to content

Commit 6c63732

Browse files
committed
make button smaller cc @jeroen
1 parent 56798e1 commit 6c63732

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

themes/ropensci/layouts/partials/skeleton/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
1515
{{ $css := resources.Get "main.min.css" }}
16-
<link rel="stylesheet" type ="text/css" href="copypaste.css">
16+
<link rel="stylesheet" type ="text/css" href="/copypaste.css">
1717
{{ $secureCSS := $css | resources.Fingerprint "sha512" }}
1818
<link href="{{ $secureCSS.Permalink }}" rel="stylesheet" integrity="{{ $secureCSS.Data.Integrity }}">
1919
<link
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
pre {
22
position: relative;
33
}
4-
button.btn.copy-button {
4+
button.copy-button {
55
display: inline-block;
6-
position: absolute;
6+
font-size: 10px;
7+
padding-top: 0 !important;
8+
padding-bottom: 0 !important;
9+
padding-left: 0.1 !important;
10+
padding-right: 0.1 !important;
711
}

0 commit comments

Comments
 (0)