@magicgol/polyjuice 0.19.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -10,9 +10,7 @@
10
10
  v-on:input="onInput"
11
11
  >
12
12
  <span class="mg-switch-slider"></span>
13
- <span class="mg-switch-icon">
14
- <svgicon name="check-with-circle"></svgicon>
15
- </span>
13
+ <svgicon name="check-with-circle"></svgicon>
16
14
  </label>
17
15
  </template>
18
16
 
@@ -102,18 +100,15 @@ export default {
102
100
  }
103
101
  }
104
102
 
105
- &-icon {
103
+ svg {
106
104
  display: none;
105
+ fill: #fff;
107
106
  left: 50%;
108
107
  top: 50%;
109
108
  margin-top: -.6125rem;
110
109
  margin-left: -.6125rem;
111
110
  position: absolute;
112
111
  width: 1.25rem;
113
-
114
- svg {
115
- fill: #fff;
116
- }
117
112
  }
118
113
 
119
114
  &--checked {
@@ -135,7 +130,7 @@ export default {
135
130
  }
136
131
  }
137
132
 
138
- .mg-switch-icon {
133
+ svg {
139
134
  display: block !important;
140
135
  }
141
136
  }