feat(base): fixed height for buttons
This commit is contained in:
parent
077901cd2b
commit
ffc412c18d
|
@ -5,6 +5,8 @@ import BaseTheme from '../../../ui/components/BaseTheme.native';
|
||||||
|
|
||||||
const OVERLAY_FONT_COLOR = 'rgba(255, 255, 255, 0.6)';
|
const OVERLAY_FONT_COLOR = 'rgba(255, 255, 255, 0.6)';
|
||||||
const SECONDARY_ACTION_BUTTON_SIZE = 30;
|
const SECONDARY_ACTION_BUTTON_SIZE = 30;
|
||||||
|
const BUTTON_HEIGHT = BaseTheme.spacing[7];
|
||||||
|
const BUTTON_WIDTH = BaseTheme.spacing[7];
|
||||||
|
|
||||||
export const AVATAR_SIZE = 65;
|
export const AVATAR_SIZE = 65;
|
||||||
export const UNDERLAY_COLOR = 'rgba(255, 255, 255, 0.2)';
|
export const UNDERLAY_COLOR = 'rgba(255, 255, 255, 0.2)';
|
||||||
|
@ -136,13 +138,12 @@ export const BASE_INDICATOR = {
|
||||||
|
|
||||||
const button = {
|
const button = {
|
||||||
borderRadius: BaseTheme.shape.borderRadius,
|
borderRadius: BaseTheme.shape.borderRadius,
|
||||||
height: BaseTheme.spacing[6],
|
height: BUTTON_HEIGHT
|
||||||
minWidth: 85
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const buttonLabel = {
|
const buttonLabel = {
|
||||||
...BaseTheme.typography.bodyShortBold,
|
...BaseTheme.typography.bodyShortBold,
|
||||||
padding: 2,
|
padding: 6,
|
||||||
textTransform: 'capitalize'
|
textTransform: 'capitalize'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -151,8 +152,8 @@ const iconButtonContainer = {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
borderRadius: BaseTheme.shape.borderRadius,
|
borderRadius: BaseTheme.shape.borderRadius,
|
||||||
height: BaseTheme.spacing[6],
|
height: BUTTON_HEIGHT,
|
||||||
width: BaseTheme.spacing[6]
|
width: BUTTON_WIDTH
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -85,7 +85,8 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
lonelyButton: {
|
lonelyButton: {
|
||||||
borderRadius: BaseTheme.spacing[4]
|
borderRadius: BaseTheme.spacing[4],
|
||||||
|
paddingHorizontal: BaseTheme.spacing[1]
|
||||||
},
|
},
|
||||||
|
|
||||||
lonelyMeetingContainer: {
|
lonelyMeetingContainer: {
|
||||||
|
|
Loading…
Reference in New Issue