File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 10
10
{{ @crate.name }}
11
11
</LinkTo >
12
12
<span local-class =" version" data-test-version>v{{ @crate.max_version }} </span >
13
- <CrateTomlCopy @copyText =' {{ @crate.name }} = "{{ @crate.max_version }} "' @inline ={{ true }} />
13
+ <CrateTomlCopy @copyText =' {{ @crate.name }} = "{{ @crate.max_version }} "' @inline ={{ true }} local-class = " copy-button " />
14
14
</div >
15
15
<div local-class =" description" data-test-description>
16
16
{{ truncate-text @crate.description }}
Original file line number Diff line number Diff line change 21
21
margin-left : 10px ;
22
22
}
23
23
24
+ .copy-button {
25
+ opacity : 0 ;
26
+ transition : 50ms ;
27
+
28
+ .crate-row : hover & {
29
+ opacity : 1 ;
30
+ }
31
+ }
32
+
24
33
.description {
25
34
composes : small from '../styles/shared/typography.module.css' ;
26
35
margin-top : 8px ;
You can’t perform that action at this time.
0 commit comments