Skip to content

Commit e9c649c

Browse files
committed
fix small device image sizes
1 parent 023bd2e commit e9c649c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

_includes/modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
</div>
55
<div class="modal-content">
66
<h3>{{include.title}}</h3>
7-
<img alt="{{include.title}}" height="450px" width="800px" src="#" />
7+
<img alt="{{include.title}}" class="modal-image" height="450px" width="800px" src="#" />
88
</div>
99
</div>

_sass/_custom.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.spotlight > .code-block {
2+
padding: 10px;
3+
}
4+
15
.wide {
26
padding-top: 75px;
37
padding-bottom: 75px;
@@ -23,7 +27,7 @@ a.smooth:hover {
2327

2428
.doc-image {
2529
border-radius: 3px;
26-
max-width: 1024px;
30+
max-width: 90%;
2731
}
2832

2933
.edit-docs {

_sass/_modal.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ a.modal-link:before {
2727
a.modal-link:hover:before {
2828
opacity: .65;
2929
}
30-
31-
.spotlight > .code-block {
32-
padding: 10px;
33-
}

0 commit comments

Comments
 (0)