add header and styles to fit for iframe insertions

This commit is contained in:
Tim Krehan 2019-06-04 11:20:52 +02:00
parent 5cb5edcfaa
commit e169a36e5b
3 changed files with 9 additions and 6 deletions

View file

@ -35,11 +35,9 @@
}
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>";
foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){
echo "<p>$paragraph</p>";
}
echo $recipe->Beschreibung;
echo "</div>";
echo '</div>';

View file

@ -12,12 +12,12 @@ $(document).ready(function () {
codeviewFilter: true,
codeviewIframeFilter: true,
toolbar: [
['misc', ['undo', 'redo']],
['style', ['bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
['style', ['style', 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'clear']],
['font', ['color', 'fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video']],
['misc', ['undo', 'redo']],
['view', ['codeview', 'help']]
]
});

View file

@ -31,3 +31,8 @@
.nav-link-font {
font-size: 16px !important;
}
.recipe-card-body iframe{
height: unset !important;
width: unset !important;
}