@viur/shop-components 0.14.2 → 0.14.3

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": "@viur/shop-components",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "Frontend Vue components for the shop module of ViUR",
5
5
  "repository": {
6
6
  "type": "git",
@@ -74,7 +74,7 @@
74
74
  <div class="availability"
75
75
  :class="`availability--${item.shop_availability}`"
76
76
  >
77
- {{$t(item.shop_availability)}}
77
+ <span class="availability-description">{{$t(item.shop_availability)}}</span>
78
78
  </div>
79
79
  </div>
80
80
 
@@ -142,12 +142,19 @@ function removeArticle(){
142
142
  display: block;
143
143
  background-color: #666;
144
144
  width: .7em;
145
+ min-width: .7em;
145
146
  height: .7em;
146
147
  border-radius: 50%;
147
148
  margin-right: 5px;
148
149
  margin-bottom: 2px;
149
150
  }
150
151
  }
152
+ .availability-description {
153
+ min-width: 0;
154
+ white-space: nowrap;
155
+ overflow: hidden;
156
+ text-overflow: ellipsis;
157
+ }
151
158
  .availability--onrequest,
152
159
  .availability--instock {
153
160
  color: var(--ignt-color-success);
@@ -31,12 +31,13 @@ function close(){
31
31
 
32
32
  <style scoped>
33
33
 
34
- .decent{
34
+ .decent {
35
35
  margin: 0;
36
36
  transition: all ease .3s;
37
37
 
38
38
  &::part(base){
39
- border: none;
39
+ border: none;
40
+ border-radius: 0;
40
41
  }
41
42
 
42
43
  &::part(label){
@@ -46,4 +47,4 @@ function close(){
46
47
  }
47
48
  }
48
49
 
49
- </style>
50
+ </style>