diff --git a/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.html b/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.html index a9a35f27b..649a5829e 100644 --- a/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.html +++ b/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.html @@ -1,29 +1,28 @@ -
-

{{ title }}

+

{{ title }}

-
-

- {{ bookListType === 'lastRead' ? "You haven't read any books yet!" : "No books have been added to BookLore!" }} -

-
+
+

+ {{ bookListType === 'lastRead' ? "You haven't read any books yet!" : "No books have been added to BookLore!" }} +

+
-
+
-
- -
+
+
+ +
-
- -
+
+ +
-
-

Failed to load books! :(

-
+
+

Failed to load books! :(

diff --git a/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss b/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss index 66e783ccf..e69de29bb 100644 --- a/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss +++ b/booklore-ui/src/app/dashboard/components/dashboard-scroller/dashboard-scroller.component.scss @@ -1,45 +0,0 @@ -.dashboard-scroller-container { - margin-bottom: 16px; -} - -.dashboard-scroller-title { - font-size: 1.5rem; - color: var(--text-color); - margin-bottom: 10px; - padding: 5px; - text-align: left; -} - -.no-books-text { - font-size: 0.95rem; - color: var(--text-color); -} - -.no-books-container { - padding-top: 3rem; - display: flex; - justify-content: center; - align-items: center; -} - -.infinite-scroller { - display: flex; - flex-direction: row; - overflow-x: auto; - overflow-y: hidden; - scroll-snap-type: x mandatory; - padding: 5px; - gap: 20px; - height: 100%; - box-sizing: border-box; -} - -.infinite-scroller-a-book { - overflow: hidden; - background-color: var(--card-background); - border-radius: 8px; - flex: 0 0 9.5%; - scroll-snap-align: start; - position: relative; -} - diff --git a/booklore-ui/src/app/dashboard/components/main-dashboard/main-dashboard.component.html b/booklore-ui/src/app/dashboard/components/main-dashboard/main-dashboard.component.html index f01d5a2b8..75aab40ac 100644 --- a/booklore-ui/src/app/dashboard/components/main-dashboard/main-dashboard.component.html +++ b/booklore-ui/src/app/dashboard/components/main-dashboard/main-dashboard.component.html @@ -20,14 +20,18 @@ [title]="'Last Read Books'"> - +
+ +
- +
+ +