Skip to content

Commit 6db8605

Browse files
committed
Docs: Adjust image size
1 parent 5c837c3 commit 6db8605

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

Website/src/css/custom.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,5 @@
3939
.image {
4040
display: block;
4141
margin: auto;
42-
max-width: 1060px;
43-
width: 100%;
44-
height: auto;
45-
}
42+
max-width: 1060px;
43+
}

Website/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export default function Home() {
232232
<ImageGallery
233233
autoPlay="true"
234234
items={images1}
235-
additionalClass={styles.image}
235+
additionalClass={styles.imageScreenshot}
236236
/>
237237
</div>
238238
<p>Overview of various features and tools in NETworkManager.</p>
@@ -241,7 +241,7 @@ export default function Home() {
241241
<img
242242
src="./img/preview_tabs_drag_drop.gif"
243243
alt="NETworkManager tabs and drag & drop preview"
244-
className={styles.image}
244+
className={styles.imageScreenshot}
245245
/>
246246
</div>
247247
<p>Preview of tabs and drag & drop functionality.</p>
@@ -250,7 +250,7 @@ export default function Home() {
250250
<img
251251
src="./img/preview-light-theme.png"
252252
alt="NETworkManager tabs and drag & drop preview"
253-
className={styles.image}
253+
className={styles.imageScreenshot}
254254
/>
255255
</div>
256256
<p>Preview of tabs and drag & drop functionality.</p>

Website/src/pages/styles.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ table {
9494
height: auto;
9595
}
9696

97+
.imageScreenshot {
98+
display: block;
99+
margin: auto;
100+
max-width: 1060px;
101+
width: 100%;
102+
height: auto;
103+
}
104+
97105
.indexCtas {
98106
--ifm-button-size-multiplier: 1.6;
99107
display: flex;

0 commit comments

Comments
 (0)