File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
<div local-class =" crate-row" data-test-crate-row ...attributes>
2
2
<div local-class =" description-box" >
3
- <div >
3
+ <div local-class = " crate-spec " >
4
4
{{ #let (link " crate" @crate.id ) as |l |}}
5
5
<a href ={{ l.url }} local-class =" name" data-test-crate-link {{ on " click" l.transitionTo }} >
6
6
{{ @crate.name }}
Original file line number Diff line number Diff line change 23
23
overflow-wrap : break-word;
24
24
}
25
25
26
- .version {
27
- margin-left : var (--space-2xs );
28
- }
29
-
30
26
.copy-button {
31
27
composes : button-reset from '../styles/shared/buttons.module.css' ;
32
- padding : 0 var (--space-2xs );
33
28
color : var (--main-color );
34
29
cursor : pointer;
35
30
51
46
}
52
47
53
48
svg {
49
+ vertical-align : top;
54
50
height : 1rem ;
55
51
width : 1rem ;
56
52
}
57
53
}
58
54
55
+ .crate-spec {
56
+ display : flex;
57
+ flex-wrap : wrap;
58
+ align-items : center;
59
+
60
+ & > * {
61
+ margin-bottom : calc (var (--space-xs ) / 2 );
62
+ }
63
+ & > : not (last-child ) {
64
+ margin-right : var (--space-2xs );
65
+ }
66
+ }
67
+
59
68
.description {
60
69
composes : small from '../styles/shared/typography.module.css' ;
61
- margin-top : var (--space-xs );
70
+ margin-top : calc ( var (--space-xs ) / 2 );
62
71
line-height : 1.5 ;
63
72
}
64
73
You can’t perform that action at this time.
0 commit comments