diff --git a/src/styles/Admin.module.css b/src/styles/Admin.module.css index 066ebda..e753d61 100644 --- a/src/styles/Admin.module.css +++ b/src/styles/Admin.module.css @@ -47,13 +47,9 @@ gap: 0.5rem; min-width: 0; max-width: 100%; - overflow-x: auto; - scrollbar-width: none; - padding-bottom: 0.125rem; -} - -.tabs::-webkit-scrollbar { - display: none; + /* Les onglets passent à la ligne quand ils ne tiennent plus, plutôt que de + défiler : aucun n'est masqué hors champ. */ + flex-wrap: wrap; } .tabs button { @@ -66,7 +62,6 @@ font-weight: 500; cursor: pointer; white-space: nowrap; - flex-shrink: 0; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }