Fix vertical alignment of shortcut icons

- Add min-height to shortcut label

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Prachi Srivastava 2017-09-27 16:04:21 +05:30 committed by James Valleroy
parent 667282bae9
commit b353a292fe
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 6 additions and 0 deletions

View File

@ -41,7 +41,9 @@
<center>
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png" style="max-width: 100px; height: 100px" />
<br>
<div class="shortcut-label">
{{ shortcut.label|linebreaks }}
</div>
</center>
</a>
</li>

View File

@ -113,4 +113,8 @@ footer {
footer license-info p{
margin: 20px 0;
}
.shortcut-label {
min-height:50px;
}