add margn to recipe card bottom

This commit is contained in:
Tim Krehan 2019-05-20 08:38:56 +02:00
parent 7b700cb820
commit 9831151903
2 changed files with 2 additions and 1 deletions

View file

@ -30,6 +30,7 @@ function userPopover(title, text){
$("#newuser").data("toggle", "popover"); $("#newuser").data("toggle", "popover");
$("#newuser").data("container", "body"); $("#newuser").data("container", "body");
$("#newuser").data("placement", "bottom"); $("#newuser").data("placement", "bottom");
$("#newuser").data("trigger", "focus");
$("#newuser").data("html", true); $("#newuser").data("html", true);
$("#newuser").attr("title", title); $("#newuser").attr("title", title);
$("#newuser").data("content", text); $("#newuser").data("content", text);

View file

@ -23,7 +23,7 @@
echo "<h1 data-recipeid='$recipe->ID'>$recipe->Name</h1>"; echo "<h1 data-recipeid='$recipe->ID'>$recipe->Name</h1>";
echo '</div>'; echo '</div>';
echo '<div class="card mw-50">'; echo '<div class="card mw-50 mb-3">';
echo "<div class='card-body' id='ingredients'>"; echo "<div class='card-body' id='ingredients'>";
echo "<h2 class='card-title'>Zutaten</h2>"; echo "<h2 class='card-title'>Zutaten</h2>";
foreach($recipe->Zutaten as $index => $Zutat){ foreach($recipe->Zutaten as $index => $Zutat){