@dataloop-ai/components 0.17.47 → 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.47",
3
+ "version": "0.17.48",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -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 {