@afeefa/vue-app 0.0.252 → 0.0.253

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.
@@ -1 +1 @@
1
- 0.0.252
1
+ 0.0.253
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.252",
3
+ "version": "0.0.253",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -26,13 +26,13 @@ export default class AContextMenuItem extends Vue {
26
26
  }
27
27
 
28
28
  click () {
29
- this.contextMenu.close()
30
29
  if (this.to) {
31
30
  this.$router.push(this.to)
32
31
  .catch(() => null) // prevent duplicated navigation warning
33
32
  } else {
34
33
  this.$emit('click')
35
34
  }
35
+ this.contextMenu.close()
36
36
  }
37
37
  }
38
38
  </script>
@@ -40,13 +40,13 @@ export default class AContextMenuItem extends Vue {
40
40
 
41
41
  <style lang="scss" scoped>
42
42
  .contextMenuItem {
43
- padding: 0.2rem .4rem;
43
+ padding: .2rem .4rem;
44
44
  display: flex;
45
45
  align-items: center;
46
46
  text-align: center;
47
47
  white-space: nowrap;
48
48
  text-decoration: none;
49
- font-size: 0.9rem;
49
+ font-size: .9rem;
50
50
  color: #666666;
51
51
  cursor: pointer;
52
52
  user-select: none;
@@ -58,7 +58,7 @@ export default class AContextMenuItem extends Vue {
58
58
  :deep(.v-icon) {
59
59
  display: block;
60
60
  text-align: center;
61
- margin-right: 0.5rem;
61
+ margin-right: .5rem;
62
62
 
63
63
  svg {
64
64
  width: 1.3rem;