Skip to content

Commit 2502c8d

Browse files
committed
No js fixes
1 parent f0259f5 commit 2502c8d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

_includes/themes/metromongo/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en" class="no-js">
33
<head>
44
<meta charset="utf-8">
55
<title>{{ page.title }}</title>

assets/themes/metromongo/css/mongoengine.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Slider */
2-
.sl-slider-wrapper {
2+
.js .sl-slider-wrapper {
33
width: 100%;
44
max-width: 980px;
55
height: 500px;
@@ -120,14 +120,16 @@
120120
.no-js .sl-slide,
121121
.no-js .sl-slides-wrapper,
122122
.no-js .sl-slide-inner {
123-
position: relative;
124-
width: 100%;
125-
height: 100%;
123+
position: relative;
124+
width: 100%;
125+
height: 100%;
126+
min-height: 500px;
127+
margin-bottom: 20px;
126128
}
127129

128130
.no-js .nav-arrows,
129131
.no-js .nav-dots {
130-
display: none;
132+
display: none;
131133
}
132134

133135
.bg-1 {
@@ -320,7 +322,7 @@ text-decoration: none;
320322
}
321323

322324
.sl-slider {
323-
position: absolute;
325+
/*position: absolute;*/
324326
top: 0;
325327
left: 0;
326328
}
@@ -330,7 +332,7 @@ text-decoration: none;
330332
.sl-slide,
331333
.sl-slides-wrapper,
332334
.sl-slide-inner {
333-
position: absolute;
335+
/*position: absolute;*/
334336
width: 100%;
335337
height: 100%;
336338
top: 0;

0 commit comments

Comments
 (0)