compatibilité chrome

This commit is contained in:
Jean-Marie Favreau 2023-12-17 17:49:56 +01:00
parent 817e360fba
commit 8591ebab38
2 changed files with 8 additions and 3 deletions

View File

@ -10,8 +10,10 @@ $primary-600: #008080;
$primary-700: #006c6c;
$enable-responsive-typography: true;
// Import Pico
@import "./pico/pico";
[role="button"] {
margin: 0.1em 0;
@ -169,17 +171,20 @@ footer {
#calendar {
width: 100%;
overflow: auto;
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
min-width: 1500px;
}
.grid.week-in-month {
grid-template-columns: 2.5em repeat(auto-fit, minmax(0%, 1fr));
margin-bottom: .5em;
}
.entete-semaine {
text-orientation: upright;
writing-mode: sideways-lr;
text-orientation: mixed;
writing-mode: vertical-rl;
text-align: center;
background: rgba(0, 137, 137, 0.2);
padding: 1em 0;
h2 {

View File

@ -47,7 +47,7 @@
{% if forloop.counter0|divisibleby:7 %}
{% if not forloop.first %}</div><div class="grid week-in-month">{% endif %}
<div class="entete-semaine"><h2><a href="{% url 'week_view' calendar.year d.week %}?{{ filter.get_url }}">Semaine {{ d.week }}</a></h2></div>
{% endif %}
{% endif %}
{% include "agenda_culturel/day-inc.html" with day=d resume=1 fixed_style=calendar.all_in_past filter=filter headers="h3" %}
{% endfor %}
</div>