From cf862e1a2ff73ac77960c14a078d50bf78754506 Mon Sep 17 00:00:00 2001 From: Mehdi104797 <92753457+Mehdi104797@users.noreply.github.com> Date: Wed, 16 Apr 2025 13:01:02 +0330 Subject: [PATCH] CardList --- components/haditha/CardList.vue | 19 ++++++++++++++++++- pages/haditha/library/index.vue | 6 ++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/components/haditha/CardList.vue b/components/haditha/CardList.vue index b63e54c..3682f1d 100644 --- a/components/haditha/CardList.vue +++ b/components/haditha/CardList.vue @@ -41,7 +41,9 @@ const goToLibraryShow = (item) => { /> -
+
{ margin: 0 1em; margin-right: auto; margin-left: auto; + height: 100%; .page-header { margin-bottom: 2em; @@ -130,6 +133,7 @@ const goToLibraryShow = (item) => { /* padding: 1em 1.3em; */ height: calc(100dvh - 13.5em); overflow-y: auto; + /* margin: 0 24px; */ .library-list-item { width: 140; @@ -166,5 +170,18 @@ const goToLibraryShow = (item) => { letter-spacing: 0%; text-align: center; } + @media screen and (max-width: 719.99px) { + .library-list-contianer { + } + .library-list { + height: calc(100dvh - 8em); + } + + .page-header { + margin-top: 4em; + margin-right: 2em; + margin-bottom: 1em; + } + } } diff --git a/pages/haditha/library/index.vue b/pages/haditha/library/index.vue index dae0e9c..6ce3f43 100644 --- a/pages/haditha/library/index.vue +++ b/pages/haditha/library/index.vue @@ -179,4 +179,10 @@ const CardList = defineAsyncComponent(() => padding-top: 8.3em; background: #f7fffd; } + +@media screen and (max-width: 719.99px) { + .search-box-container { + padding-top: 0em; +} +}