@ecohouse/ui 0.1.30 → 0.1.31
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/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Sidebar/Sidebar.tsx +9 -1
package/package.json
CHANGED
|
@@ -218,7 +218,10 @@ export const Sidebar = forwardRef<ComponentRef<typeof View>, SidebarProps>(funct
|
|
|
218
218
|
|
|
219
219
|
const styles = StyleSheet.create({
|
|
220
220
|
root: {
|
|
221
|
+
flexDirection: "column",
|
|
222
|
+
alignSelf: "stretch",
|
|
221
223
|
height: "100%",
|
|
224
|
+
minHeight: "100%",
|
|
222
225
|
flexShrink: 0,
|
|
223
226
|
backgroundColor: colors.dark,
|
|
224
227
|
borderRightWidth: 1,
|
|
@@ -257,8 +260,11 @@ const styles = StyleSheet.create({
|
|
|
257
260
|
flexShrink: 0,
|
|
258
261
|
},
|
|
259
262
|
nav: {
|
|
260
|
-
|
|
263
|
+
flexGrow: 1,
|
|
264
|
+
flexShrink: 1,
|
|
265
|
+
flexBasis: 0,
|
|
261
266
|
width: "100%",
|
|
267
|
+
minHeight: 0,
|
|
262
268
|
padding: 16,
|
|
263
269
|
gap: 10,
|
|
264
270
|
},
|
|
@@ -291,7 +297,9 @@ const styles = StyleSheet.create({
|
|
|
291
297
|
footer: {
|
|
292
298
|
height: PROFILE_SECTION_HEIGHT,
|
|
293
299
|
width: "100%",
|
|
300
|
+
flexGrow: 0,
|
|
294
301
|
flexShrink: 0,
|
|
302
|
+
marginTop: "auto",
|
|
295
303
|
alignItems: "center",
|
|
296
304
|
justifyContent: "center",
|
|
297
305
|
paddingVertical: 12,
|