https://dev.entrouvert.org/
https://dev.entrouvert.org/favicon.ico?1586192034
2021-05-06T13:15:32Z
Redmine Entr’ouvert
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=304706
2021-05-06T13:15:32Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Fichier</strong> <a href="/attachments/54392">0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/54392/0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch">0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> ajouté</li><li><strong>Statut</strong> changé de <i>Nouveau</i> à <i>Solution proposée</i></li><li><strong>Patch proposed</strong> changé de <i>Non</i> à <i>Oui</i></li></ul>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=304724
2021-05-06T13:38:22Z
Nicolas Roche (absent jusqu'au 3 avril)
<ul><li><strong>Statut</strong> changé de <i>Solution proposée</i> à <i>Solution validée</i></li></ul><p>Ack.</p>
<p>chrono/manager/static/css/style.css<br /><pre>
<<<
.agenda-table {
width: 100%; }
.agenda-table .desks-1 thead th {
width: 99%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-2 thead th {
width: 49%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-3 thead th {
width: 32.3333333333%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-4 thead th {
width: 24%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-5 thead th {
width: 19%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-6 thead th {
width: 15.6666666667%; }
.agenda-table {
width: 100%; }
.agenda-table .desks-7 thead th {
width: 13.2857142857%; }
===
.agenda-table {
width: 100%; }
.agenda-table .desks-1 thead th {
width: 99%; }
.agenda-table .desks-2 thead th {
width: 49%; }
.agenda-table .desks-3 thead th {
width: 32.3333333333%; }
.agenda-table .desks-4 thead th {
width: 24%; }
.agenda-table .desks-5 thead th {
width: 19%; }
.agenda-table .desks-6 thead th {
width: 15.6666666667%; }
.agenda-table .desks-7 thead th {
width: 13.2857142857%; }
>>>
</pre></p>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=304743
2021-05-06T13:56:16Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Statut</strong> changé de <i>Solution validée</i> à <i>Solution proposée</i></li></ul><p>En fait c'est même plus que cela, la boucle ne sert à rien :</p>
<pre>
@for $i from 1 through 7 {
.agenda-table {
width: 100%;
.desks-#{$i} {
thead th { width: (100%/$i)-1%; }
}
}
}
</pre>
<p>retourne `.agenda-table .desks-* thead th {}` qui cible dans le vide.</p>
<p>Je propose donc de supprimer.</p>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=304747
2021-05-06T14:02:55Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Fichier</strong> <a href="/attachments/54405">0001-css-remove-dead-code-bad-selector-53817.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/54405/0001-css-remove-dead-code-bad-selector-53817.patch">0001-css-remove-dead-code-bad-selector-53817.patch</a> ajouté</li></ul>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=304780
2021-05-06T14:38:59Z
Nicolas Roche (absent jusqu'au 3 avril)
<ul></ul><p>(patch avec trop de trucs dedans)</p>
<p>J'imagine que ce qui avait été voulu sur <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Development: Vue mensuelle sur l'agenda (Fermé)" href="https://dev.entrouvert.org/issues/21326">#21326</a> c'était :<br /><pre>
diff --git a/chrono/manager/static/css/style.scss b/chrono/manager/static/css/style.scss
index ba8c5b8..64d312b 100644
--- a/chrono/manager/static/css/style.scss
+++ b/chrono/manager/static/css/style.scss
@@ -134,8 +134,9 @@ table.agenda-table {
+.agenda-table {
+ width: 100%;
+}
+
@for $i from 1 through 7 {
- .agenda-table {
- width: 100%;
- .desks-#{$i} {
- thead th { width: (100%/$i)-1%; }
- }
+ .agenda-table.desks-#{$i} {
+ thead th { width: (100%/$i)-1%; }
}
</pre></p>
<p>Mais j'avoue que je ne vois pas la différence à l'affichage.</p>
<p>edit: ça semble avoir sauté ici <a class="external" href="https://dev.entrouvert.org/issues/21326#note-64">https://dev.entrouvert.org/issues/21326#note-64</a></p>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=305310
2021-05-10T14:36:19Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Fichier</strong> <a href="/attachments/54509">0002-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/54509/0002-css-don-t-loop-width-prop-on-.agenda-table-53817.patch">0002-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> ajouté</li></ul><p>T'as raison, je patch le mauvais sélecteur aussi, fixer un width sur les desks est finalement utile.</p>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=305344
2021-05-10T16:24:42Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Fichier</strong> <a href="/attachments/54522">0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> <a class="icon-only icon-download" title="Télécharger" href="/attachments/download/54522/0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch">0001-css-don-t-loop-width-prop-on-.agenda-table-53817.patch</a> ajouté</li></ul><p>avec un index à 0001</p>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=305396
2021-05-11T08:20:27Z
Serghei Mihai
<ul><li><strong>Statut</strong> changé de <i>Solution proposée</i> à <i>Solution validée</i></li></ul>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=305399
2021-05-11T08:35:28Z
Thomas Jund
tjund@entrouvert.com
<ul><li><strong>Statut</strong> changé de <i>Solution validée</i> à <i>Résolu (à déployer)</i></li></ul><pre>
commit d66778cfb81121aa12bd6466a51813d03433786f
Author: Thomas JUND <tjund@entrouvert.com>
Date: Mon May 10 16:29:03 2021 +0200
css: don't loop width prop on .agenda-table (#53817)
</pre>
Chrono - Bug #53817: CSS "width 100%" déclaré 7x sur .agenda-table
https://dev.entrouvert.org/issues/53817?journal_id=305455
2021-05-11T10:17:09Z
Frédéric Péters
fpeters@entrouvert.com
<ul><li><strong>Statut</strong> changé de <i>Résolu (à déployer)</i> à <i>Solution déployée</i></li></ul>