Skip to content

Commit

Permalink
fix: improve CSS for list items in book cards
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelWagstaff committed Oct 25, 2023
1 parent 8e34167 commit a1ccf69
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
13 changes: 11 additions & 2 deletions assets/css/book-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,19 @@
color: var(--primary-dark);
}

.book-cards .book-card .book-info p {
.book-cards .book-card .book-info * {
@apply text-base m-0;
}

.book-cards .book-card .book-info ol {
@apply list-decimal list-inside;
}

.book-cards .book-card .book-info ul {
@apply list-disc list-inside;
}


.book-cards .book-card .book-info > p:first-of-type {
@apply text-sm;
}
Expand All @@ -57,7 +66,7 @@
@apply mb-2;
}

.book-cards .book-card .book-info .book-description.line-clamp *:not(a):not(em):not(del):not(span):not(strong):not(u) {
.book-cards .book-card .book-info .book-description.line-clamp *:not(a):not(em):not(del):not(span):not(strong):not(u):not(li) {
display: contents;
}

Expand Down
5 changes: 5 additions & 0 deletions dist/assets/app-9952496b.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions dist/assets/app-e124f171.js

This file was deleted.

4 changes: 2 additions & 2 deletions dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"assets/css/app.css": {
"file": "assets/app-9160e1cd.css",
"file": "assets/app-c8d384e6.css",
"isEntry": true,
"src": "assets/css/app.css"
},
"assets/js/app.js": {
"file": "assets/app-e124f171.js",
"file": "assets/app-9952496b.js",
"isEntry": true,
"src": "assets/js/app.js"
}
Expand Down

0 comments on commit a1ccf69

Please sign in to comment.