mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 14:20: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 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>';
|
||||
|
|
|
@ -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']]
|
||||
]
|
||||
});
|
||||
|
|
|
@ -30,4 +30,9 @@
|
|||
|
||||
.nav-link-font {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.recipe-card-body iframe{
|
||||
height: unset !important;
|
||||
width: unset !important;
|
||||
}
|
Loading…
Reference in a new issue