File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
templates/components/Package Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 21
21
opacity : 1 ;
22
22
padding : var (--space-small , .75rem ) var (--space-large , 1.5rem );
23
23
transform : translateY (50% );
24
+ transition-property : transform ;
25
+ transition-duration : 0ms ;
24
26
25
27
p {
26
28
margin-bottom : 0 ;
33
35
& :hover {
34
36
transform : translateY (50% );
35
37
}
38
+
39
+ @media screen and (max-width : 768px ) {
40
+ transform : translateY (0 );
41
+
42
+ & :hover {
43
+ transform : translateY (0 );
44
+ }
45
+ }
36
46
}
37
47
}
38
48
.DocsLink_content {
Original file line number Diff line number Diff line change 12
12
</p >
13
13
</div >
14
14
15
- <div class =" d-flex justify-content-center" >
15
+ <div class =" d-flex justify-content-center flex-column-reverse flex-md-row " >
16
16
{% if command is not defined or command %}
17
17
<twig:TerminalCommand
18
18
aria-label =" Composer command to install {{ package .humanName }}"
22
22
{% endif %}
23
23
24
24
<twig:DocsLink
25
- class =" ms-3 "
25
+ class =" ms-md-3 align-self-center "
26
26
size =" sm"
27
27
title =" Read the docs"
28
28
url =" {{ package .officialDocsUrl }}"
You can’t perform that action at this time.
0 commit comments