mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
add header and styles to fit for iframe insertions
This commit is contained in:
parent
5cb5edcfaa
commit
e169a36e5b
3 changed files with 9 additions and 6 deletions
|
@ -35,11 +35,9 @@
|
||||||
}
|
}
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
||||||
echo "<div class='card-body'>";
|
echo "<div class='recipe-card-body card-body embed-responsive-16by9'>";
|
||||||
echo "<h2 class='card-title'>Zubereitung</h2>";
|
echo "<h2 class='card-title'>Zubereitung</h2>";
|
||||||
foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){
|
echo $recipe->Beschreibung;
|
||||||
echo "<p>$paragraph</p>";
|
|
||||||
}
|
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
|
@ -12,12 +12,12 @@ $(document).ready(function () {
|
||||||
codeviewFilter: true,
|
codeviewFilter: true,
|
||||||
codeviewIframeFilter: true,
|
codeviewIframeFilter: true,
|
||||||
toolbar: [
|
toolbar: [
|
||||||
['misc', ['undo', 'redo']],
|
['style', ['style', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
|
||||||
['style', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
|
|
||||||
['font', ['color', 'fontsize']],
|
['font', ['color', 'fontsize']],
|
||||||
['para', ['ul', 'ol', 'paragraph']],
|
['para', ['ul', 'ol', 'paragraph']],
|
||||||
['table', ['table']],
|
['table', ['table']],
|
||||||
['insert', ['link', 'picture', 'video']],
|
['insert', ['link', 'picture', 'video']],
|
||||||
|
['misc', ['undo', 'redo']],
|
||||||
['view', ['codeview', 'help']]
|
['view', ['codeview', 'help']]
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
|
@ -31,3 +31,8 @@
|
||||||
.nav-link-font {
|
.nav-link-font {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recipe-card-body iframe{
|
||||||
|
height: unset !important;
|
||||||
|
width: unset !important;
|
||||||
|
}
|
Loading…
Reference in a new issue