From ee4ca0f49bee136432e92dfee4a9da257a67f003 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 9 Nov 2021 17:49:39 +0100 Subject: [PATCH] Make pagination and Breadcrumb overflow-x scroll --- src/assets/views/components/Breadcrumb.svelte | 2 +- src/assets/views/components/Pagination.svelte | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/assets/views/components/Breadcrumb.svelte b/src/assets/views/components/Breadcrumb.svelte index 2ccee54..87bb4cc 100644 --- a/src/assets/views/components/Breadcrumb.svelte +++ b/src/assets/views/components/Breadcrumb.svelte @@ -13,7 +13,7 @@ padding: 0 8px; list-style: none; - overflow: hidden; + overflow-x: auto; border-radius: 5px; diff --git a/src/assets/views/components/Pagination.svelte b/src/assets/views/components/Pagination.svelte index 9603d90..ae7310b 100644 --- a/src/assets/views/components/Pagination.svelte +++ b/src/assets/views/components/Pagination.svelte @@ -20,11 +20,12 @@ display: flex; flex-direction: row; width: fit-content; + max-width: 100%; margin: 8px auto; padding: 0; list-style: none; - overflow: hidden; + overflow-x: auto; border-radius: 5px;