From c72301f6c6fc048c5790646322295a32f4032ab0 Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <> Date: Fri, 20 Dec 2024 21:24:51 -0700 Subject: [PATCH] Add kebab menu --- .../library-browser.component.html | 71 +++++++++---------- .../library-browser.component.scss | 15 ++-- 2 files changed, 44 insertions(+), 42 deletions(-) diff --git a/booklore-ui/src/app/book/component/library-browser/library-browser.component.html b/booklore-ui/src/app/book/component/library-browser/library-browser.component.html index 47494eef7..5a7d4eb0d 100644 --- a/booklore-ui/src/app/book/component/library-browser/library-browser.component.html +++ b/booklore-ui/src/app/book/component/library-browser/library-browser.component.html @@ -1,47 +1,42 @@ -
-
-
-

{{ currentLibraryName() }}

- -
-
- -
- - -
+
+
+

{{ currentLibraryName() }}

+ + +
+
+ +
+ +
+
- -
-
- -
-
- - Cover of {{ book.metadata.title }} -
+
+
+ +
+
+ Cover of {{ book.metadata.title }} +
+

{{ book.metadata.title }}

- - - +
+ +
- -
+
+
- -
diff --git a/booklore-ui/src/app/book/component/library-browser/library-browser.component.scss b/booklore-ui/src/app/book/component/library-browser/library-browser.component.scss index c988f2baa..9b7d1c303 100644 --- a/booklore-ui/src/app/book/component/library-browser/library-browser.component.scss +++ b/booklore-ui/src/app/book/component/library-browser/library-browser.component.scss @@ -1,3 +1,10 @@ +.book-title-container { + display: flex; + align-items: center; + justify-content: space-between; + flex-direction: row; +} + .library-header { display: flex; justify-content: space-between; @@ -38,9 +45,9 @@ .virtual-scroller-item { background-color: var(--surface-card); - height: 240px; + height: 243px; width: 150px; - border-radius: 8px; + border-radius: 8px 8px 0 0; position: relative; } @@ -65,12 +72,12 @@ .book-title { font-size: 0.85rem; color: var(--text-color); - margin-bottom: 5px; + margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; - padding: 6px 6px 5px; + padding: 6px 6px 3px; } .book-authors {