Equalize dashboard widgets height.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-14 05:30:43 -04:00
parent bdc69b9860
commit a2a089299f
3 changed files with 10 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
- Sort indexes by label.
- Fix cabinets permission and access control checking.
- The permission to add or remove documents to cabinets now applies to documents too.
- Equalize dashboard widgets heights.
2.5.2 (2017-07-08)
==================

View File

@@ -1,6 +1,6 @@
{% load i18n %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 match-height">
<div class="panel panel-secondary dashboard-widget">
<div class="panel-heading">
<div class="row">

View File

@@ -8,6 +8,14 @@
{% block title %}{% trans 'Dashboard' %}{% endblock %}
{% block javascript %}
<script>
$(function() {
$('.match-height').matchHeight();
});
</script>
{% endblock javascript %}
{% block content %}
<h3>
{% trans 'Dashboard' %}