Browse Source

Remove vpn-specific css-hack from .message class

So that .message is usable in other places.
Jocelyn Delande 9 years ago
parent
commit
1356aed6ef
2 changed files with 6 additions and 2 deletions
  1. 5 1
      coin/static/css/local.css
  2. 1 1
      vpn/templates/vpn/vpn.html

+ 5 - 1
coin/static/css/local.css

@@ -384,7 +384,11 @@ tr.inactive {
     background-color: #20BA44;
     /*background-color: #00A986;*/
     border: 1px solid #E0E0E0;
-    margin: -1.5em 1em 1em 1em;
+    margin: 1em;
+}
+
+.eat-up {
+	margin-top: -1.5em;
 }
 .message.success:before {
     content: "✔ ";

+ 1 - 1
vpn/templates/vpn/vpn.html

@@ -9,7 +9,7 @@
     <p class="legend">Quand vous aurez terminé vos modifications, cliquez sur <input class="button" type="submit" value="Valider" /></p>
 
     {% for message in messages %}
-    <div class="message{% if message.tags %} {{ message.tags }}{% endif %}">
+    <div class="message eat-up{% if message.tags %} {{ message.tags }}{% endif %}">
         {{ message }}
     </div>
     {% endfor %}