File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 158
158
display : inline-block ;
159
159
160
160
button , button :active {
161
- padding : 0 ;
162
- width : 25px ;
161
+ padding : 0 .2rem ;
163
162
outline : 0 ;
164
163
165
164
& :hover {
166
165
background : inherit ;
167
166
}
168
167
169
168
svg {
170
- width : 20px ;
169
+ height : 1rem ;
170
+ width : 1rem ;
171
171
}
172
172
173
173
.copy-notification {
174
- top : -15 px ;
174
+ top : -1.25 rem ;
175
175
left : 0 ;
176
- width : 255px ;
177
176
text-align : left ;
177
+ width : 4rem ;
178
+
179
+ & .copy-failure {
180
+ width : 15rem ;
181
+ }
178
182
}
179
183
}
180
184
}
370
374
}
371
375
372
376
& .copy-failure {
373
- bottom : -30 px ;
377
+ bottom : -2 rem ;
374
378
right : 0 ;
375
- width : 255 px ;
379
+ width : 18 rem ;
376
380
text-align : right ;
377
381
}
378
382
}
Original file line number Diff line number Diff line change 1
1
<div class =' desc' >
2
2
<div class =' info' >
3
- {{ crate-toml-copy copyText =crateTomlText }}
4
3
{{ #link-to ' crate' crate.id data-test-crate-link }} {{ crate.name }} {{ /link-to }}
4
+ {{ crate-toml-copy copyText =crateTomlText }}
5
5
{{ crate-badge crate =crate }}
6
6
{{ #each crate.annotated_badges as |badge |}}
7
7
{{ component badge.component_name badge =badge data-test-badge =badge.badge_type }}
You can’t perform that action at this time.
0 commit comments