diff --git a/package-lock.json b/package-lock.json index 52a650a6..4328de7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.7.3", + "version": "19.7.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.7.3", + "version": "19.7.4", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index f4b5b428..6f18c1ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.7.3", + "version": "19.7.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/pages/books.css b/src/assets/styles/pages/books.css index 4e300f5f..d079f6fa 100644 --- a/src/assets/styles/pages/books.css +++ b/src/assets/styles/pages/books.css @@ -44,10 +44,6 @@ } & .description { - -webkit-box-orient: vertical; - display: -webkit-box; - -webkit-line-clamp: 6; - overflow: hidden; margin-bottom: var(--sizing-base); } } diff --git a/src/pages/main/books/index.html b/src/pages/main/books/index.html index 315ef029..76f74025 100644 --- a/src/pages/main/books/index.html +++ b/src/pages/main/books/index.html @@ -47,7 +47,7 @@ schema: books {%- assign percentage = book.progress | append: '%' -%} {% render "partials/media/progress-bar.liquid", percentage:percentage %} {% endif %} - {% if book.description %}
{{ book.description | markdown }}
{% endif %} + {% if book.description %}
{{ book.description | markdown | truncate: 300 }}
{% endif %} {% endfor %} \ No newline at end of file