From 5cc5955fa67e0f4d70a3bc23617f900c69344be7 Mon Sep 17 00:00:00 2001
From: Nicolas Joyard <joyard.nicolas@gmail.com>
Date: Thu, 2 Jun 2016 08:12:46 +0200
Subject: [PATCH] Adjust margins

---
 .../_representative_block.haml                | 39 ++++++++++---------
 1 file changed, 20 insertions(+), 19 deletions(-)

diff --git a/templates/representatives/_representative_block.haml b/templates/representatives/_representative_block.haml
index cc991450..4537dd56 100644
--- a/templates/representatives/_representative_block.haml
+++ b/templates/representatives/_representative_block.haml
@@ -59,24 +59,25 @@
                 = site.url|website_link
 
   .row
-    %h2 Contact information
-    %table.table.table-condensed.detail-view
-      - for email in representative.email_set.all
-        %tr
-          %th E-mail
-          %td
-            = email.email|email_link
+    .col-md-12
+      %h2 Contact information
+      %table.table.table-condensed.detail-view
+        - for email in representative.email_set.all
+          %tr
+            %th E-mail
+            %td
+              = email.email|email_link
 
-      - if representative.phone_set.all|length > 0
-        %tr
-          %th Phone numbers
-          %td
-            - for phone in representative.phone_set.all
-              .phone {{ phone.number }}
+        - if representative.phone_set.all|length > 0
+          %tr
+            %th Phone numbers
+            %td
+              - for phone in representative.phone_set.all
+                .phone {{ phone.number }}
 
-      - for address in representative.address_set.all
-        %tr
-          %th
-            = address.name
-          %td
-            - include 'representatives/_address_block.html' with address=address
\ No newline at end of file
+        - for address in representative.address_set.all
+          %tr
+            %th
+              = address.name
+            %td
+              - include 'representatives/_address_block.html' with address=address
\ No newline at end of file
-- 
GitLab