Skip to content

Commit 486395c

Browse files
authored
Merge pull request #1171 from Ishavyas9/main
storylane demo added
2 parents 9ecde70 + 1a142ae commit 486395c

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/smartui-pdf-comparison.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,23 @@ This functionality is exclusive to our enterprise plan subscribers on SmartUI. F
5454

5555
In the following section, we will walk you through the process of conducting your first Visual Regression test using LambdaTest's SmartUI platform.
5656

57+
<div className="ytframe">
58+
<div className="youtube" data-embed="H91z4j5_JvQ">
59+
<div className="play-button"></div>
60+
</div>
61+
</div>
62+
63+
## Getting Started with PDF Comparison
64+
65+
66+
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+
5774
## Step 1: Establishing a SmartUI Project
5875

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

src/css/custom.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1878,4 +1878,6 @@ h6[id]::before {
18781878

18791879

18801880
.support_container{display: flex;gap:100px}
1881-
.docusaurus-theme-github-codeblock .theme-code-block{max-height: 500px;overflow: auto;}
1881+
.docusaurus-theme-github-codeblock .theme-code-block{max-height: 500px;overflow: auto;}
1882+
.storylane-iframe{position:relative;padding-bottom:calc(45.26% + 25px);width:100%;height:0;transform:scale(1)}
1883+
.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)