Projet

Général

Profil

0002-montpellier-replace-dedicated-clear-float-tags-by-.c.patch

Thomas Jund, 22 juillet 2020 16:39

Télécharger (3,04 ko)

Voir les différences:

Subject: [PATCH 02/10] montpellier: replace dedicated clear float tags by
 ".clearfix" class (#45365)

 static/montpellier/_custom.scss                              | 4 ----
 templates/variants/montpellier/authentic2/base.html          | 3 +--
 .../variants/montpellier/combo/wcs/form_categories.html      | 5 ++---
 3 files changed, 3 insertions(+), 9 deletions(-)
static/montpellier/_custom.scss
149 149
  text-decoration: underline;
150 150
}
151 151

  
152
br.clear {
153
  clear: both;
154
}
155

  
156 152
/* for templates/combo/wcs/form_categories.html
157 153
 * and  templates/combo/wcs/current_forms.html
158 154
 */
templates/variants/montpellier/authentic2/base.html
30 30
  <h3>Compte usager</h3>
31 31
</div>
32 32

  
33
<div class="a2-block">
33
<div class="a2-block clearfix">
34 34
  {% block content %}
35 35
  {% endblock %}
36 36
</div>
37
<br class="clear">
38 37
<p id="help">
39 38
  <a href="{% firstof help_url 'https://compte-citoyen.montpellier3m.fr/aide/' %}">Contacter le support pour l'aide</a>
40 39
</p>
templates/variants/montpellier/combo/wcs/form_categories.html
36 36
{% if commune_name == request.session.mellon_session.city.0 %}
37 37
<div class="ma_commune categories-list">
38 38
  <h3><a href="{{ categories.base_url }}tryauth">Démarches de ma commune : {{ request.session.mellon_session.city.0 }}</a></h3>
39
  <ul>
39
  <ul class="clearfix">
40 40
    {% for category in categories.data %}
41 41
    <li class="category-{{category.slug}}" data-keywords="{{category.keywords|join:' '}}">
42 42
      <a href="{{ category.url }}tryauth">{{ category.title }}</a>
......
84 84
    <h3><a href="{{ categories.base_url }}tryauth">Démarches de {{ commune_name }}</a></h3>
85 85
  {% endwith %}
86 86
  {% if categories.data %}
87
  <ul>
87
  <ul class="clearfix">
88 88
      {% for category in categories.data %}
89 89
      <li class="category-{{category.slug}}" data-keywords="{{category.keywords|join:' '}}">
90 90
        <a href="{{ category.url }}tryauth">{{ category.title }}</a>
......
102 102
  {% endif %}
103 103
{% endfor %}
104 104
</div>
105
<div style="clear: both;"></div>
106 105

  
107 106
<script type="text/javascript">
108 107
  function displayCommune(slug) {
109
-