@phillips/seldon 1.210.0 → 1.210.1

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.
@@ -1,5 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
+ $dropdown-height: 240px;
4
+
3
5
  .#{$px}-filter-dropdown-menu {
4
6
  background: $white-100;
5
7
  border-radius: $radius-sm;
@@ -7,18 +9,24 @@
7
9
  display: flex;
8
10
  flex-direction: column;
9
11
  min-width: 100%;
10
- padding: $spacing-md;
12
+ padding: $spacing-sm 0;
11
13
 
12
14
  &__filters {
13
15
  display: flex;
14
16
  flex-direction: column;
15
- gap: $spacing-xsm;
16
- max-height: 25vh;
17
+ gap: $spacing-sm;
18
+ max-height: $dropdown-height;
17
19
  overflow-y: auto;
20
+ padding: 0 $spacing-sm;
21
+ padding-bottom: $spacing-sm;
18
22
 
19
23
  &--mobile {
20
24
  padding: 0 $spacing-md $spacing-md;
21
25
  }
26
+
27
+ @media (min-width: $breakpoint-xl) {
28
+ max-height: calc($dropdown-height + $spacing-sm);
29
+ }
22
30
  }
23
31
 
24
32
  &__button-wrap {
@@ -27,10 +35,11 @@
27
35
  }
28
36
 
29
37
  &__buttons-wrap {
38
+ border-top: 1px solid $bg-border;
30
39
  display: flex;
31
40
  gap: $spacing-sm;
32
41
  justify-content: space-between;
33
- margin-top: $spacing-sm;
42
+ padding: $spacing-sm $spacing-sm 0 $spacing-sm;
34
43
 
35
44
  &--drawer {
36
45
  box-shadow: 0 -4px 8px -4px $medium-gray;
@@ -117,6 +126,7 @@
117
126
  display: flex;
118
127
  flex-direction: row;
119
128
  justify-content: space-between;
129
+ max-height: 2rem;
120
130
  }
121
131
 
122
132
  &__label {
@@ -134,6 +144,10 @@
134
144
  }
135
145
  }
136
146
 
147
+ .#{$px}-filter-dropdown-menu .#{$px}-filter-input__input__wrapper {
148
+ max-height: 2rem;
149
+ }
150
+
137
151
  .#{$px}-filter-drawer-mobile {
138
152
  padding: 0;
139
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.210.0",
3
+ "version": "1.210.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"