diff sat_templates/templates/bulma/forum/overview.html @ 246:1928ba66c194

bulma: replaced custom styles by new spacing helpers
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents 0e69b5843c2f
children
line wrap: on
line diff
--- a/sat_templates/templates/bulma/forum/overview.html	Fri Jun 19 17:57:13 2020 +0200
+++ b/sat_templates/templates/bulma/forum/overview.html	Fri Jun 19 17:57:13 2020 +0200
@@ -4,7 +4,7 @@
     {% if level == 0 %}
         <section class="section">
             {% for forum in forums_data %}
-                <div class="box content has-text-centered has-background-info has-margin-top-1">
+                <div class="box content has-text-centered has-background-info mt-4">
                     <h4 class="title has-text-white">{{ forum.title }}</h4>
                     {% if 'short-desc' in forum %}
                         <p class="subtitle is-size-7 is-italic has-text-white">{{ forum['short-desc'] }}</h5>
@@ -18,7 +18,7 @@
     {% else %}
         <div class="forum forum__panel_{{panel_type}}">
             {% for forum in forums_data %}
-                <div class="has-vmargin-1 forum forum__cat_{{panel_type}} forum__level_{{level}}">
+                <div class="my-2 forum forum__cat_{{panel_type}} forum__level_{{level}}">
                     {% if 'http_url' in forum %}
                         <a href="{{forum['http_url']}}" class="box content x-is-hoverable">
                     {% else %}