@dataloop-ai/components 0.17.46 → 0.17.48

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": "@dataloop-ai/components",
3
- "version": "0.17.46",
3
+ "version": "0.17.48",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -216,9 +216,16 @@ export default defineComponent({
216
216
  padding: 5px;
217
217
  }
218
218
  &__description {
219
- margin-top: auto;
220
- padding: 5px;
221
- font-size: 10px;
219
+ overflow: hidden;
220
+ text-overflow: ellipsis;
221
+ display: -webkit-box;
222
+ -webkit-box-orient: vertical;
223
+ -webkit-line-clamp: 2;
224
+ line-height: 1;
225
+ max-height: 1 * 2;
226
+ margin: 20px 16px 16px 16px;
227
+ font-size: 12px;
228
+ color: var(--dl-color-medium);
222
229
  }
223
230
 
224
231
  &__drag {
@@ -146,7 +146,7 @@ export default defineComponent({
146
146
  return to > this.totalItems ? this.totalItems : to
147
147
  },
148
148
  max(): number {
149
- return this.rowsPerPageState === 0
149
+ return this.rowsPerPageState === 0 || this.totalItems === 0
150
150
  ? 1
151
151
  : Math.ceil(this.totalItems / this.rowsPerPageState)
152
152
  }
@@ -36,7 +36,5 @@ export default defineComponent({
36
36
  justify-content: flex-end;
37
37
  display: flex;
38
38
  color: var(--dl-color-lighter);
39
- padding-left: 16px;
40
- margin-left: auto;
41
39
  }
42
40
  </style>
@@ -69,11 +69,9 @@ export default defineComponent({
69
69
  <style scoped lang="scss">
70
70
  .dl-pagination {
71
71
  &--rows_selector {
72
- width: 15%;
73
72
  display: flex;
74
73
  align-items: center;
75
74
  color: var(--dl-color-darker);
76
- padding-right: 2px;
77
75
  }
78
76
 
79
77
  &--rows_per_page_label {