rmr-util 1.1.122 → 1.1.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/styles/rmr-util.scss +8 -0
package/index.js
CHANGED
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
return root.querySelector(arg);
|
|
170
|
-
} else if (arg instanceof
|
|
170
|
+
} else if (arg instanceof Element) {
|
|
171
171
|
return arg;
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
* @return {Bool}
|
|
182
182
|
*/
|
|
183
183
|
isAnElement = function(arg) {
|
|
184
|
-
return arg instanceof
|
|
184
|
+
return arg instanceof Element;
|
|
185
185
|
},
|
|
186
186
|
|
|
187
187
|
/**
|
package/package.json
CHANGED
package/src/styles/rmr-util.scss
CHANGED
|
@@ -43,12 +43,20 @@ div.grecaptcha-badge {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
&[data-rmr-aspect="4-3"] {
|
|
47
|
+
&:before {
|
|
48
|
+
padding-bottom: 75%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
46
53
|
&[data-rmr-aspect="2-1"] {
|
|
47
54
|
&:before {
|
|
48
55
|
padding-bottom: 50%;
|
|
49
56
|
}
|
|
50
57
|
}
|
|
51
58
|
|
|
59
|
+
& > svg,
|
|
52
60
|
& > div,
|
|
53
61
|
& > img,
|
|
54
62
|
& > a,
|