@enso-ui/notifications 3.2.9 → 3.2.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/notifications",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "description": "Notification center pages and navbar widgets for Enso UI",
5
5
  "main": "src/bulma/pages/Index.vue",
6
6
  "repository": {
@@ -18,7 +18,8 @@
18
18
  </figure>
19
19
  </template>
20
20
  <template #items>
21
- <dropdown-item v-for="position in positions"
21
+ <dropdown-item class="p-2"
22
+ v-for="position in positions"
22
23
  :key="position"
23
24
  :selected="toastrPosition === position"
24
25
  @select="update(position)">
@@ -50,24 +51,29 @@ export default {
50
51
 
51
52
  <style lang="scss">
52
53
  .toastr-position {
53
- .dropdown-trigger .button.input .image {
54
- margin: 0;
54
+ .dropdown-trigger .button.input {
55
+ position: relative;
55
56
  }
56
57
 
57
- .dropdown-trigger .button.input .image img,
58
- .dropdown-content .dropdown-item .image img {
59
- display: block;
60
- width: 0.95rem;
61
- height: 0.95rem;
62
- margin: auto;
63
- object-fit: contain;
58
+ .dropdown-trigger .button.input .dropdown-indicator {
59
+ top: 50%;
60
+ margin-top: -0.6rem;
64
61
  }
65
62
 
66
- .dropdown .dropdown-content {
67
- width: 4.6em;
63
+ .dropdown-menu {
64
+ .dropdown-content {
65
+ min-width: 3.3rem;
66
+ width: 100%;
68
67
 
69
- .items figure {
70
- margin: auto;
68
+ .dropdown-item {
69
+ display: flex;
70
+ align-items: center;
71
+ justify-content: center;
72
+ }
73
+
74
+ figure {
75
+ margin: 0;
76
+ }
71
77
  }
72
78
  }
73
79
  }