Skip to content

Commit 011defb

Browse files
committed
added screenshot in for mobile screens
1 parent 56ee353 commit 011defb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/index.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ code{ font-family: 'Roboto Mono', monospace;}
127127
.feature-info .feature-descr{ font-size:14px;}
128128

129129
.screenshot{
130-
display:none;
130+
max-width:350px;
131+
border-radius: 4px;
132+
height:auto;
133+
width:auto
131134
}
132135

133136
.shadow1 {
@@ -228,8 +231,7 @@ code{ font-family: 'Roboto Mono', monospace;}
228231
padding-bottom: 80px;
229232
}
230233
.screenshot{
231-
display:block;
232-
border-radius: 4px;
234+
max-width:750px;
233235
}
234236
}
235237

docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ <h1 class="banner-title">Web Component for OpenAPI Spec Viewing</h1>
5555
</div>
5656
</div>
5757
<div style="display:flex; justify-content: center;">
58-
<img class="screenshot shadow3" src="./images/dark_ss.png" style="width:750px; height:480px;" />
58+
<div style="display:block">
59+
<img class="screenshot shadow3" src="./images/dark_ss.png" />
60+
</div>
5961
</div>
6062
</div>
6163
<div class="features container" id="features">

0 commit comments

Comments
 (0)