@sb1/ffe-pagination 1.1.2 → 1.1.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/less/pagination.less +19 -2
- package/package.json +2 -2
package/less/pagination.less
CHANGED
|
@@ -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-
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Pagination in ffe",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "3409852afba427fc35a5638286af7dcfca1ef823"
|
|
28
28
|
}
|