fixed text outside of colum

This commit is contained in:
vabene1111
2020-02-28 22:12:18 +01:00
parent 034e2c612b
commit a1e6bd5441
2 changed files with 5 additions and 3 deletions

View File

@@ -43,4 +43,4 @@ class RecipeFilter(django_filters.FilterSet):
class Meta:
model = Recipe
fields = ['name', 'keywords', 'ingredients']
fields = ['name', 'keywords', 'ingredients', 'internal']

View File

@@ -168,8 +168,10 @@
{% if recipe.storage %}
<div class="row">
{% if recipe.internal %}
<a href='#' onClick='openRecipe({{ recipe.id }})'
class="d-print-none">{% trans 'View external recipe' %} <i class="fas fa-external-link-alt"></i></a>
<div class="col col-12" style="margin-top: 2vh">
<a href='#' onClick='openRecipe({{ recipe.id }})'
class="d-print-none">{% trans 'View external recipe' %} <i class="fas fa-external-link-alt"></i></a>
</div>
{% else %}
<div class="col col-12" style="margin-top: 2vh">