File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,14 @@ <h3>CircuitPython {{ version.version }}</h3>
4545 Older bootloaders cannot load the firmware. See < i > Update UF2 Bootloader</ i > below.</ b >
4646 </ p >
4747 {% endif %}
48- < p >
49- < a href ="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }} "> Release Notes for {{ version.version }}</ a >
50- </ p >
48+ < div class ="release-details ">
49+ < p >
50+ < a href ="https://github.com/adafruit/circuitpython/releases/tag/{{ version.version }} "> Release Notes for {{ version.version }}</ a >
51+ </ p >
52+ {% if page.download_instructions != nil and page.download_instructions != "" %}
53+ < a class ="download-button install-instructions-button " target ="_blank " href ="{{ page.download_instructions }} "> INSTALL INSTRUCTIONS< i class ="fas fa-arrow-circle-right " aria-hidden ="true "> </ i > </ a >
54+ {% endif %}
55+ </ div >
5156 < div class ="download-details ">
5257 {% comment %}
5358 Create a list of language codes and names so it can be sorted.
@@ -142,12 +147,6 @@ <h3>CircuitPython {{ version.version }}</h3>
142147 version ="{{ version.version }} "
143148 > OPEN INSTALLER < i class ="fas fa-magic " aria-hidden ="true "> </ i > </ button >
144149 {% endif %}
145- {% if page.download_instructions != nil and page.download_instructions != "" %}
146- < div >
147- < a class ="download-button " href ="{{ page.download_instructions }} "> INSTALLATION INSTRUCTIONS< i class ="fas fa-arrow-circle-right " aria-hidden ="true "> </ i > </ a >
148- < div class ="clear "> </ div >
149- </ div >
150- {% endif %}
151150 </ div >
152151 </ div >
153152 {% if version.modules %}
Original file line number Diff line number Diff line change 5858 }
5959 }
6060
61- .download-details {
61+ .install-instructions-button {
62+ width : 100% ;
63+ margin-bottom : 1em ;
64+ }
65+
66+ .download-details , .release-details {
6267 display : grid ;
6368 grid-template-columns : repeat (2 , 1fr );
6469 }
192197 grid-template-columns : 1fr 1fr ;
193198
194199 .download {
195- .download-details {
200+ .download-details , .release-details {
196201 grid-template-columns : repeat (1 , 1fr );
197202 }
198203
You can’t perform that action at this time.
0 commit comments