masquage des blocs PDF sur mobile

This commit is contained in:
Olivier Legat 2021-03-16 12:04:53 +01:00
parent b4d6c14421
commit e063f9135a
3 changed files with 6 additions and 6 deletions

View file

@ -2801,7 +2801,6 @@ svg {
font-family: "Open Sans", sans-serif;
grid-area: cotations;
background-color: #d3e4cc;
height: 47vh;
}
.pro--main .pro--layout .pro--cotations .cotations--header {
display: flex;
@ -2954,7 +2953,7 @@ svg {
}
.pro--main .pro--layout .pdf--mini-frame {
width: 100%;
height: 47vh;
height: 0px;
}
@media only screen and (min-width: 768px) {

View file

@ -36,7 +36,7 @@
font-family: 'Open Sans', sans-serif;
grid-area: cotations;
background-color: $light_green;
height: 47vh;
//height: 47vh;
.cotations--header {
display: flex;
@ -206,7 +206,8 @@
.pdf--mini-frame {
width:100%;
height: 47vh;
//height: 47vh;
height: 0px;
}
}

View file

@ -60,7 +60,7 @@
<div class="pro--analyse">
<h2 class="post-title">Analyse technique</h2>
<embed src="{{$pdfsAnalyse[0]->file_path}}" class="pdf--mini-frame" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html">
<object data="{{$pdfsAnalyse[0]->file_path}}" type="application/pdf" class="pdf--mini-frame"></object>
<ul>
@foreach($pdfsAnalyse as $file)
<li><a href="{{ asset($file->file_path) }}" target="_pdf">{{$file->file_name}}</a></li>
@ -69,7 +69,7 @@
</div>
<div class="pro--marches">
<h2 class="post-title">Brèves des marchés</h2>
<iframe src="{{$pdfsMarches[0]->file_path}}" class="pdf--mini-frame"></iframe>
<object data="{{$pdfsMarches[0]->file_path}}" type="application/pdf" class="pdf--mini-frame"></object>
<ul>
@foreach($pdfsMarches as $file)
<li><a href="{{ asset($file->file_path) }}" target="_pdf">{{$file->file_name}}</a></li>