Skip to content

Commit 9abfbcb

Browse files
Proportional resize of logos in the 'Array Libraries' tab (#621)
1 parent 0010703 commit 9abfbcb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

assets/css/tabs.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,11 @@ td.lastrow-center-text {
143143

144144
/* Array Libraries */
145145
img.first-column-layout {
146-
height: 30px;
146+
max-width: 100px;
147+
max-height: 30px;
148+
margin: 0px 20px 0px 10px;
147149
}
148150

149151
td.left-text {
150152
vertical-align: middle;
151-
}
153+
}

layouts/partials/array-libraries.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</tr>
2020
{{- range $libraries }}
2121
<tr>
22-
<td><img class="first-column-layout" src="{{ .img }}" alt="{{ .alttext }}"></td>
22+
<td style="text-align: center"><img class="first-column-layout" src="{{ .img }}" alt="{{ .alttext }}"></td>
2323
<td class="full-center-text"><a href="{{ .url }}">{{ .title }}</a></td>
2424
<td class="left-text">{{ .text }}</td>
2525
</tr>

0 commit comments

Comments
 (0)