diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-12-04 19:36:34 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-12-07 19:11:59 +0100 |
| commit | e9d5a40432c451090e17859c764e52a96120b712 (patch) | |
| tree | ff1723110920385e3888d327231c61b781921868 /src/styles/pages/blog.module.scss | |
| parent | 53b63ac27c2275262db9a04be02210a3287aa71d (diff) | |
refactor(pages): refine Search page
* extract NoResults component to improve readability
* provide a different message when the url does not contain a query
* use hooks to refresh Thematics and Topics lists
* remove useDataFromApi hook
Diffstat (limited to 'src/styles/pages/blog.module.scss')
| -rw-r--r-- | src/styles/pages/blog.module.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styles/pages/blog.module.scss b/src/styles/pages/blog.module.scss index 553e9f9..6b68849 100644 --- a/src/styles/pages/blog.module.scss +++ b/src/styles/pages/blog.module.scss @@ -19,6 +19,10 @@ } } +.no-results { + margin-block-start: var(--spacing-md); +} + .pagination { margin-top: var(--spacing-md); } |
