LP: Fix style about impress #3427

pull/3429/head
Angel Fernando Quiroz Campos 5 years ago
parent 746d39a7d4
commit 9f72601a0d
  1. 7
      app/Resources/public/css/base.css
  2. 2
      main/lp/lp_impress.php

@ -598,7 +598,7 @@ input[type=checkbox], input[type=radio] {
.impress-content { .impress-content {
position: relative; position: relative;
width: 100%; width: 100%;
height: 600px; height: 618px;
} }
.impress-title { .impress-title {
@ -609,6 +609,11 @@ input[type=checkbox], input[type=radio] {
width: 100%; width: 100%;
} }
.impress-content iframe {
width: 100%;
height: 582px;
}
.impress-title h1 { .impress-title h1 {
font-size: 35px; font-size: 35px;
} }

@ -76,7 +76,7 @@ foreach ($list as $toc) {
if ($toc['type'] !== 'dir') { if ($toc['type'] !== 'dir') {
//just showing the src in a iframe ... //just showing the src in a iframe ...
$html .= '<h2>'.$toc['title'].'</h2>'; $html .= '<h2>'.$toc['title'].'</h2>';
$html .= '<iframe border="0" frameborder="0" style="width:100%;height:600px" src="'.$src.'"></iframe>'; $html .= '<iframe border="0" frameborder="0" src="'.$src.'"></iframe>';
} else { } else {
$html .= "<div class='impress-title'>"; $html .= "<div class='impress-title'>";
$html .= '<h1>'.$toc['title'].'</h1>'; $html .= '<h1>'.$toc['title'].'</h1>';

Loading…
Cancel
Save