Skip to content

Commit a0162c1

Browse files
authored
Merge pull request LambdaTest#1166 from Ishavyas9/DocStage
storylane demo added
2 parents 56aa961 + d45c0ba commit a0162c1

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

docs/smartui-pdf-comparison.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,15 @@ In the following section, we will walk you through the process of conducting you
6262

6363
## Getting Started with PDF Comparison
6464

65-
<iframe
66-
src="https://app.storylane.io/share/cq92opbjnlxu"
67-
width="100%"
68-
height="100%"
69-
allowFullScreen
70-
loading="lazy"
71-
importance="low"
72-
title="LambdaTest Automation Testing Demo"
73-
className="storylane-iframe"
74-
></iframe>
7565

7666

67+
<div className="storylane-iframe">
68+
<script async src="https://js.storylane.io/js/v2/storylane.js"></script>
69+
<div className="sl-embed">
70+
<iframe loading="lazy" className="sl-demo" src="https://app.storylane.io/demo/czorj4fbzohf?embed=inline" name="sl-embed" allow="fullscreen" allowfullscreen></iframe>
71+
</div>
72+
</div>
73+
7774
## Step 1: Establishing a SmartUI Project
7875

7976
To initiate a SmartUI PDF Comparison Project, adhere to the following instructions:

src/css/custom.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,4 +1881,5 @@ table th:not(:last-child), table td:not(:last-child){border-right: 1px solid #d4
18811881

18821882
.support_container{display: flex;gap:100px}
18831883
.docusaurus-theme-github-codeblock .theme-code-block{max-height: 500px;overflow: auto;}
1884-
.storylane-iframe{min-height: 700px; margin-top: 50px; border-radius: 20px; margin: auto; max-width: 100%;}
1884+
.storylane-iframe{position:relative;padding-bottom:calc(45.26% + 25px);width:100%;height:0;transform:scale(1)}
1885+
.storylane-iframe .sl-demo{position:absolute;top:0;left:0;width:100%!important;height:100%!important;border:1px solid rgba(63,95,172,0.35);box-shadow: 0px 0px 18px rgba(26, 19, 72, 0.15);border-radius:10px;box-sizing:border-box;}

0 commit comments

Comments
 (0)