@skyscanner/backpack-web 41.15.1 → 41.16.0
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.
|
@@ -42,7 +42,7 @@ const useLegacyWarning = (query, legacy, isClient) => useMemo(() => {
|
|
|
42
42
|
const BpkBreakpoint = ({
|
|
43
43
|
children,
|
|
44
44
|
legacy = false,
|
|
45
|
-
matchSSR
|
|
45
|
+
matchSSR,
|
|
46
46
|
query
|
|
47
47
|
}) => {
|
|
48
48
|
/**
|
|
@@ -64,7 +64,7 @@ const BpkBreakpoint = ({
|
|
|
64
64
|
return matches ? children : null;
|
|
65
65
|
}
|
|
66
66
|
if (typeof children === 'function') {
|
|
67
|
-
return children(matchSSR);
|
|
67
|
+
return children(!!matchSSR);
|
|
68
68
|
}
|
|
69
69
|
return matchSSR ? children : null;
|
|
70
70
|
};
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
.bpk-card-list{display:flex;flex-direction:column;gap:1.5rem}@media(max-width: 32rem){.bpk-card-list{gap:1rem}}.bpk-card-list--card-list{display:flex;flex-direction:column}
|
|
18
|
+
.bpk-card-list{display:flex;flex-direction:column;overflow:clip;gap:1.5rem}@media(max-width: 32rem){.bpk-card-list{gap:1rem}}.bpk-card-list--card-list{display:flex;flex-direction:column}
|