styling doc page
This commit is contained in:
parent
23c598034c
commit
c189ce1650
3 changed files with 9 additions and 5 deletions
|
@ -1,9 +1,11 @@
|
|||
<section class="docs">
|
||||
<aside class="sidebar">
|
||||
<h2>Types d'événements (1000 prochains)</h2>
|
||||
<h2>Types d'événements </h2>
|
||||
<p>(1000 prochains pour les 30 prochains jours)</p>
|
||||
<ul>
|
||||
<li *ngFor="let c of counts">
|
||||
<button (click)="filterByWhat(c.what)">{{ c.what }} <span class="badge">{{ c.count }}</span></button>
|
||||
<button (click)="filterByWhat(c.what)"> {{ c.what }} <span class="badge">{{ c.count }}</span></button>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
.docs {
|
||||
display: grid;
|
||||
grid-template-columns: 280px 1fr;
|
||||
grid-template-columns: 350px 1fr;
|
||||
gap: 12px;
|
||||
}
|
||||
.sidebar {
|
||||
max-height: calc(100vh - 160px);
|
||||
overflow: auto;
|
||||
|
||||
padding: 1rem;
|
||||
}
|
||||
.badge {
|
||||
background: #1976d2;
|
||||
|
@ -13,6 +15,7 @@
|
|||
border-radius: 10px;
|
||||
padding: 0 8px;
|
||||
margin-left: 6px;
|
||||
float:right;
|
||||
}
|
||||
.map-panel {
|
||||
min-height: 60vh;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import { Component, inject, signal } from '@angular/core';
|
||||
import { Component, inject, OnDestroy, OnInit } from '@angular/core';
|
||||
import { Component, inject, signal , OnDestroy, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import {Menu} from './menu/menu';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue