|
1 | 1 | <tr class="border-0 md:border border-gray-200/10 border-dotted md:border-t-0 md:border-r-0 md:border-l-0 md:border-b-1 hover:bg-gray-100 dark:hover:bg-gray-700 transition-all duration-300 ease-in-out cursor-pointer" |
2 | 2 | onclick="window.location='{% url 'library-detail' library_slug=library_version.library.slug version_slug=version_str %}'"> |
3 | | - <td class="py-2 align-top md:w-1/5"> |
| 3 | + <td class="align-top md:w-1/5 pt-3"> |
4 | 4 | <a class="mr-1 pl-1 font-bold capitalize text-sky-600 dark:text-sky-300 hover:text-orange dark:hover:text-orange" |
5 | 5 | href="{% url 'library-detail' library_slug=library_version.library.slug version_slug=version_str %}">{{ library_version.library.name }}</a> |
6 | 6 | </td> |
7 | | - |
8 | | - <td class="py-2 px-2 align-top w-12"> |
9 | | - <span class="flex justify-center py-0 px-2 text-sm font-bold text-gray-600 rounded-full border dark:text-gray-300 bg-green/40 border-green/60 dark:bg-green/40 tabular-nums" |
| 7 | + <td class="align-top w-12 pt-3 pr-2"> |
| 8 | + <span class="flex justify-center px-2 text-sm font-bold text-gray-600 rounded-full border dark:text-gray-300 bg-green/40 border-green/60 dark:bg-green/40 tabular-nums" |
10 | 9 | title="{% if library_version.cpp_standard_minimum and library_version.cpp_standard_minimum != 'None' %}C++ Version {{ library_version.cpp_standard_minimum }} or Later{% else %}C++ Version 03 or Later{% endif %}"> |
11 | 10 | <span class="text-white dark:text-gray-800 tracking-wide scale-x-75 origin-left w-6 text-nowrap whitespace-nowrap">C++</span> |
12 | 11 | {% if library_version.cpp_standard_minimum and library_version.cpp_standard_minimum != 'None' %}{{ library_version.cpp_standard_minimum }}{% else %}03{% endif %} |
13 | 12 | </span> |
14 | 13 | </td> |
15 | | - <td class="align-top"> |
| 14 | + <td class="w-8 text-center align-top pt-3"> |
| 15 | + {% if library_version.cpp20_module_support %} |
| 16 | + <span |
| 17 | + class="align-top text-sm font-bold text-gray-600 m-auto" |
| 18 | + title="Supports usage via C++ 20 modules (import)"><i class="fa-solid fa-puzzle-piece"></i></span> |
| 19 | + {% endif %} |
| 20 | + </td> |
| 21 | + <td class="w-8 align-top"> |
16 | 22 | {% include "libraries/includes/_documentation_link_icon.html" %} |
17 | 23 | </td> |
18 | | - <td class="hidden md:block py-2 pl-3 align-top">{{ library_version.description|default:"No description provided for this version." }}</td> |
| 24 | + <td class="align-top hidden md:block mt-2 pl-3 md:h-20 md:items-center h-full">{{ library_version.description|default:"No description provided for this version." }}</td> |
19 | 25 | </tr> |
20 | | -<tr class="block md:hidden pl-1"> |
| 26 | +<tr class="block md:hidden pl-1 align-top"> |
21 | 27 | <td>{{ library_version.description|default:"No description provided for this version." }}</td> |
22 | 28 | </tr> |
0 commit comments