@artsy/palette-mobile 11.2.3 → 11.2.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.
- package/CHANGELOG.md +12 -0
- package/dist/elements/Tabs/TabsContainer.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v11.2.4 (Mon Jul 10 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fix: tab title breaking in smaller phone layouts [#123](https://github.com/artsy/palette-mobile/pull/123) ([@gkartalis](https://github.com/gkartalis))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- George Kartalis ([@gkartalis](https://github.com/gkartalis))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v11.2.3 (Fri Jul 07 2023)
|
|
2
14
|
|
|
3
15
|
:tada: This release contains work from a new contributor! :tada:
|
|
@@ -33,7 +33,7 @@ const TabsContainer = ({ children, indicators = [], initialTabName, renderHeader
|
|
|
33
33
|
return indicator.tabName === props.name;
|
|
34
34
|
});
|
|
35
35
|
return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { flex: 1, children: [(0, jsx_runtime_1.jsx)(Flex_1.Flex, { position: "absolute", width: "100%", children: !!Indicator?.Component && (0, jsx_runtime_1.jsx)(Indicator.Component, { ...props }) }), (0, jsx_runtime_1.jsx)(react_native_collapsible_tab_view_1.MaterialTabItem, { ...props })] }));
|
|
36
|
-
}, contentContainerStyle: {}, activeColor: color("onBackground"), inactiveColor: color("onBackgroundMedium"), labelStyle: {
|
|
36
|
+
}, contentContainerStyle: {}, activeColor: color("onBackground"), inactiveColor: color("onBackgroundMedium"), labelStyle: { marginHorizontal: 0 }, indicatorStyle: {
|
|
37
37
|
backgroundColor: color("onBackground"),
|
|
38
38
|
height: 1,
|
|
39
39
|
// on android this line breaks the active indicator and it is not visible
|