@jx3box/jx3box-common-ui 9.2.8 → 9.2.9
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/package.json
CHANGED
|
@@ -46,6 +46,7 @@ export default {
|
|
|
46
46
|
show: true,
|
|
47
47
|
visible: false,
|
|
48
48
|
commit_hash: "",
|
|
49
|
+
isMobile: window.innerWidth < 768,
|
|
49
50
|
};
|
|
50
51
|
},
|
|
51
52
|
computed: {
|
|
@@ -91,6 +92,9 @@ export default {
|
|
|
91
92
|
});
|
|
92
93
|
},
|
|
93
94
|
handleContrast(item) {
|
|
95
|
+
if (this.isMobile) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
94
98
|
this.commit_hash = item.commit_hash;
|
|
95
99
|
this.visible = true;
|
|
96
100
|
},
|
|
@@ -165,6 +169,9 @@ export default {
|
|
|
165
169
|
|
|
166
170
|
.u-compare {
|
|
167
171
|
.db;
|
|
172
|
+
@media screen and (max-width: @phone) {
|
|
173
|
+
.none;
|
|
174
|
+
}
|
|
168
175
|
}
|
|
169
176
|
}
|
|
170
177
|
.pointer;
|