fix some breadcrumbs

This commit is contained in:
Kostiantyn Stoliarskyi 2023-05-05 11:21:14 +03:00
parent 97f66dc6c2
commit 93ff7769cc
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
<!-- prettier-ignore --> <!-- prettier-ignore -->
<nav class="flex mt-5 mb-3" aria-label="Breadcrumb"> <nav class="flex mt-5 mb-3" aria-label="Breadcrumb">
<ol class="inline-flex items-center space-x-1 md:space-x-3 ml-5 overflow-x-scroll"> <ol class="inline-flex items-center space-x-1 md:space-x-3 ml-5 overflow-x-scroll md:overflow-auto p-0">
{% for breadcrumb in breadcrumbs %} {% for breadcrumb in breadcrumbs %}
<li class="inline-flex items-center"> <li class="inline-flex items-center">
<a href="{{ breadcrumb.url }}" class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white"> <a href="{{ breadcrumb.url }}" class="inline-flex items-center text-sm truncate max-w-xs font-medium text-gray-700 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white">
<!-- prettier-ignore --> <!-- prettier-ignore -->
<!--svg for all types of breadcrumb--> <!--svg for all types of breadcrumb-->
{% if breadcrumb.type == "MyBookList" or breadcrumb.type == "AuthorBookList" %} {% if breadcrumb.type == "MyBookList" or breadcrumb.type == "AuthorBookList" %}