@andreyshpigunov/x 0.5.18 → 0.5.20

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.html CHANGED
@@ -19,7 +19,7 @@
19
19
  "functionName": "headerAnimation"
20
20
  }'>
21
21
  <header class="header flex aic sticky t0 px5 m:px6 l:px8 unselectable">
22
- <div class="header-version nowrap">0.5.18</div>
22
+ <div class="header-version nowrap">0.5.20</div>
23
23
  <div class="header-logo mxa">
24
24
  <a role="button" x-scrollto="#top">
25
25
  <img src="assets/img/logo.png" alt="x" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andreyshpigunov/x",
3
- "version": "0.5.18",
3
+ "version": "0.5.20",
4
4
  "x-js": "dist/x.js",
5
5
  "app-js": "assets/js/app.js",
6
6
  "targets": {
@@ -12,24 +12,21 @@ All right reserved.
12
12
  .icon[10-60] step 2 (m,l) - icon size in px
13
13
  */
14
14
 
15
- [class*=icon],
16
- [class*=icon] > svg,
17
- [class*=icon] > img {
15
+ .icon,
16
+ .icon > svg,
17
+ .icon > img {
18
18
  display: inline-block;
19
19
  width: 1em;
20
20
  height: 1em;
21
21
  max-width: none;
22
22
  max-height: none;
23
23
  }
24
- [class*=icon] > svg,
25
- [class*=icon] > img {
26
- display: block;
27
- }
28
24
 
29
25
  @for $i from 10 to 60 by 2 {
30
26
  .icon$(i),
31
27
  .icon$(i) > svg,
32
28
  .icon$(i) > img {
29
+ display: inline-block;
33
30
  width: calc($(i)rem / 10);
34
31
  height: calc($(i)rem / 10);
35
32
  }
@@ -40,6 +37,7 @@ All right reserved.
40
37
  .m\:icon$(i),
41
38
  .m\:icon$(i) > svg,
42
39
  .m\:icon$(i) > img {
40
+ display: inline-block;
43
41
  width: calc($(i)rem / 10);
44
42
  height: calc($(i)rem / 10);
45
43
  }
@@ -51,8 +49,14 @@ All right reserved.
51
49
  .l\:icon$(i),
52
50
  .l\:icon$(i) > svg,
53
51
  .l\:icon$(i) > img {
52
+ display: inline-block;
54
53
  width: calc($(i)rem / 10);
55
54
  height: calc($(i)rem / 10);
56
55
  }
57
56
  }
58
57
  }
58
+
59
+ [class*=icon] > svg,
60
+ [class*=icon] > img {
61
+ display: block;
62
+ }