mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
add margn to recipe card bottom
This commit is contained in:
parent
7b700cb820
commit
9831151903
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue