diff --git a/src/components/ChaptersBar.vue b/src/components/ChaptersBar.vue index 4f233c3e..fa82a257 100644 --- a/src/components/ChaptersBar.vue +++ b/src/components/ChaptersBar.vue @@ -20,10 +20,10 @@
- +
- +
@@ -34,32 +34,22 @@ height: 5px; } .chapter { - @apply cursor-pointer; - align-self: center; - padding: 10px; + @apply cursor-pointer self-center p-2.5; img { - width: 100%; - height: 100%; + @apply w-full h-full; } } .chapter-vertical { - @apply cursor-pointer; - align-self: center; - padding: 10px; + @apply cursor-pointer self-center p-2.5; img { - width: 30%; - height: 30%; + @apply w-3/10 h-3/10; } } .chapter-vertical:hover { @apply bg-gray-500; } .text-truncate { - white-space: nowrap; - width: 10em; - overflow: hidden; - text-overflow: ellipsis; - display: inline-block; + @apply truncate overflow-hidden inline-block w-10em; }