tweaking of some shortcodes and adding osm
This commit is contained in:
parent
35425157b0
commit
309a419d50
7 changed files with 32 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<iframe id="v-frame" width="100%" frameborder="0" allow="clipboard-write" height="800px" src=https://secure.myvanco.com/L-Z772 scrolling="yes"></iframe>
|
||||
<iframe class="h-screen" id="v-frame" width="100%" frameborder="0" allow="clipboard-write" src=https://secure.myvanco.com/L-Z772 scrolling="yes"></iframe>
|
||||
|
||||
<!-- <script type="application/javascript"> -->
|
||||
<!-- window.onmessage=(e=>{const n=document.getElementById("v-frame");https:\/\/secure.myvanco.com===e.origin&&e.data.height&&(n.height=e.data.height,n.overflow="hidden")}); -->
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<iframe
|
||||
class="mt-form w-full h-200"
|
||||
class="mt-form w-full h-screen"
|
||||
src="https://tbl.tfcconnection.org/dashboard/#/nc/form/771dc7dc-9a82-49e4-abfe-0fd7b72281f2?embed"
|
||||
frameborder="0"
|
||||
style="background: transparent; border: 1px solid #ddd">
|
||||
|
|
4
layouts/shortcodes/osm.html
Normal file
4
layouts/shortcodes/osm.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
{{ $osmClasses := "{{ .Get `height` | default `h-96`}} {{.Get `width` | default `w-full`}}" }}
|
||||
|
||||
<iframe class="{{with .Get `height` }}{{ . }}{{ else }}h-96{{end}} {{with .Get `width` }}{{ . }}{{ else }}w-full{{end}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{{ .Get `src`}}"></iframe><br/><small><a href="{{ .Get `href`}}">View Larger Map</a></small>
|
|
@ -1,9 +1,2 @@
|
|||
{{- $height := .Get "height" | default "100px" -}}
|
||||
<style>
|
||||
.space{
|
||||
height: {{ $height }};
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="space" style="display: flex;">
|
||||
</div>
|
||||
{{- $height := .Get "height" | default "h-24" -}}
|
||||
<div class="{{ $height }}" style="display: flex;"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue