@sb1/ffe-pagination 1.1.2 → 1.1.4

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.
@@ -13,7 +13,7 @@
13
13
  flex-direction: column;
14
14
  justify-content: space-between;
15
15
  align-items: center;
16
- gap: var(--ffe-spacing-xs);
16
+ gap: var(--ffe-spacing-sm);
17
17
 
18
18
  @media (min-width: @breakpoint-sm) {
19
19
  flex-direction: row;
@@ -44,17 +44,33 @@
44
44
  align-items: center;
45
45
  gap: var(--buttons-distance);
46
46
  }
47
+
48
+ &__buttons-nav {
49
+ flex-shrink: 0;
50
+ }
47
51
  }
48
52
 
49
53
  .ffe-pagination-info {
50
54
  margin: 0;
55
+ width: 100%;
56
+ text-align: center;
57
+
58
+ @media (min-width: @breakpoint-sm) {
59
+ text-align: left;
60
+ }
51
61
  }
52
62
 
53
63
  .ffe-pagination-rows-per-page {
54
64
  display: flex;
55
65
  align-items: center;
56
66
  gap: var(--ffe-spacing-xs);
57
- justify-content: end;
67
+ width: 100%;
68
+ justify-content: center;
69
+
70
+ @media (min-width: @breakpoint-sm) {
71
+ justify-content: end;
72
+ }
73
+
58
74
  .ffe-dropdown {
59
75
  max-width: 90px;
60
76
  }
@@ -112,6 +128,7 @@
112
128
  .ffe-pagination-page-button {
113
129
  width: var(--circular-button-size);
114
130
  aspect-ratio: 1;
131
+ white-space: nowrap;
115
132
  &--active,
116
133
  &--active:focus {
117
134
  background-color: var(--ffe-farge-vann);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-pagination",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Pagination in ffe",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -16,13 +16,13 @@
16
16
  "test": "npm run lint"
17
17
  },
18
18
  "dependencies": {
19
- "@sb1/ffe-core": "^28.0.0"
19
+ "@sb1/ffe-core": "^28.0.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@sb1/ffe-buildtool": "^0.7.0"
22
+ "@sb1/ffe-buildtool": "^0.7.1"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "810df40d675067eec815d4fceaf43c47d644a1fc"
27
+ "gitHead": "04c486e446179c6a1a8ca15a015c4c3e008ce6d5"
28
28
  }