File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ {{!< default }}
2
+ {{ #post }}
3
+ <div id =" modern" >
4
+ <div class =" {{ post_class }} " >
5
+ <h1 >{{ title }} </h1 >
6
+ <div >{{ content }} </div >
7
+ </div >
8
+ <section class =" {{ post_class }} light-background" >
9
+ <div class =" pipedriveWebForms" data-pd-webforms =" https://webforms.pipedrive.com/f/bXGEbZmA58kJPCiTvLK4jx85rVeg5797ayI37xIHpUtbD7h6xf4Qinv5iYxFZ8GZOj" ><script src =" https://webforms.pipedrive.com/f/loader" ></script ></div >
10
+ </div >
11
+ </div >
12
+ {{ /post }}
13
+ {{ #contentFor ' scripts' }}
14
+ <script src =" {{ asset ' dist/post.js' }} " defer></script >
15
+ {{ /contentFor }}
Original file line number Diff line number Diff line change 324
324
margin : 2.5rem ;
325
325
}
326
326
}
327
+
328
+ .pipedriveWebForms {
329
+ max-width : 100% ; /* Ensure the form doesn't exceed the container width */
330
+ padding : 1em ; /* Add some padding for spacing */
331
+ box-sizing : border-box; /* Include padding in width calculations */
332
+ margin : 1.5rem 0 0 0 ;
333
+ }
334
+
335
+ .pipedriveWebForms iframe {
336
+ width : 100% ; /* Ensure the iframe scales to the container */
337
+ max-width : 600px ; /* Set a reasonable max width */
338
+ height : auto; /* Adjust height proportionally */
339
+ display : block; /* Ensure it behaves like a block-level element */
340
+ margin : 1.5rem auto; /* Center the form on the page */
341
+ }
327
342
}
You can’t perform that action at this time.
0 commit comments