Skip to content

Commit 806b3be

Browse files
jonathanhefnerp8
andauthored
Merge pull request rails#46430 from sampatbadhe/guides-set-pointer-cursor-to-copy-code-button
Rails Guides - set "cursor: pointer" and on hover "color: #005cc5" css to copy code button [ci-skip] Co-authored-by: Petrik <[email protected]>
2 parents e5f3d69 + cffce5d commit 806b3be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

guides/assets/stylesheets/main.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,12 @@ body {
252252
padding: 2px 10px;
253253
position: absolute;
254254
bottom: 2px;
255-
right: 2px
255+
right: 2px;
256+
cursor: pointer;
257+
}
258+
259+
.clipboard-button:hover {
260+
color: #005cc5;
256261
}
257262

258263
.clipboard-button:active {

0 commit comments

Comments
 (0)