Fixed breadcrumb styling in BS5

This commit is contained in:
Jan Böhmer 2022-07-24 22:48:21 +02:00
parent 270d622265
commit a07c43ea8a
2 changed files with 35 additions and 35 deletions

View file

@ -73,7 +73,7 @@
{% macro breadcrumb_entity_link(entity, link_type = "list_parts") %}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<ol class="breadcrumb py-2 px-3 rounded" style="background-color: var(--bs-gray-200);">
{% for e in entity.pathArray %}
<li class="breadcrumb-item {% if loop.last %}active{% endif %}">
{% if link_type is not empty and not loop.last and e.id is not null %}

View file

@ -1,7 +1,7 @@
{% extends "base.html.twig" %}
{% block content %}
<div class="bg-light rounded p-3">
<div class="rounded p-4" style="background-color: var(--bs-gray-300);">
<h1 class="display-3">{{ partdb_title }}</h1>
<h4>
{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}