From 24b31b624c0f80bc9a9cd3f29fab97fa18f711d1 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 13 May 2022 18:03:43 +0100 Subject: [PATCH] Cleaned up entity details listing --- resources/sass/_lists.scss | 16 +++++++ resources/views/books/show.blade.php | 12 +++-- resources/views/chapters/show.blade.php | 22 +++++++-- resources/views/entities/meta.blade.php | 64 +++++++++++++++---------- resources/views/pages/show.blade.php | 37 ++++++++++---- resources/views/shelves/show.blade.php | 12 +++-- 6 files changed, 117 insertions(+), 46 deletions(-) diff --git a/resources/sass/_lists.scss b/resources/sass/_lists.scss index 3d36fd7bd..a829e891b 100644 --- a/resources/sass/_lists.scss +++ b/resources/sass/_lists.scss @@ -729,3 +729,19 @@ ul.pagination { } } } + +.entity-meta-item { + display: flex; + line-height: 1.2; + margin: 0.6em 0; + align-content: start; + gap: $-s; + a { + line-height: 1.2; + } + svg { + flex-shrink: 0; + width: 1em; + margin: 0; + } +} diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 5263bc810..e0cb4b862 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -67,14 +67,20 @@ @section('right')
{{ trans('common.details') }}
-