frontpage: Fix card sizing

Signed-off-by: Manish Tripathy <manisht@thougtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-06-18 20:38:29 +05:30
parent 5407808e64
commit a33e295ae2
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -82,9 +82,9 @@
{% if user.is_authenticated or not shortcut.login_required %} {% if user.is_authenticated or not shortcut.login_required %}
<div class="card thumbnail"> <div class="card thumbnail">
{% if selected_id == shortcut.id %} {% if selected_id == shortcut.id %}
<a href="{{ shortcut.url }}" class="active"> <a href="{{ shortcut.url }}" class="nav-link active">
{% else %} {% else %}
<a href="{{ shortcut.url }}"> <a href="{{ shortcut.url }}" class="nav-link">
{% endif %} {% endif %}
<div class="card-icon"> <div class="card-icon">
<img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png" <img src="{% static 'theme/icons/' %}{{ shortcut.icon }}.png"