better margin in edit actions
parent
ed3b92fafb
commit
92d44ec406
|
@ -323,6 +323,7 @@ export function MyColorPickerV2({
|
|||
gap: 10,
|
||||
justifyContent: "center",
|
||||
marginTop: 10,
|
||||
marginBottom: 10,
|
||||
}}
|
||||
>
|
||||
{appContext.userColorSwatchesFavorites.map((color, i) => (
|
||||
|
|
|
@ -104,7 +104,7 @@ export function MyTwoThumbsSlider({
|
|||
<MyIcon name={iconName} size={24} />
|
||||
<View style={{ flex: 1 }}>{renderChildren()}</View>
|
||||
|
||||
<View style={{ width: 62, alignItems: "center" }}>
|
||||
<View style={{ width: 70, alignItems: "center" }}>
|
||||
<Text style={{ color: appContext.appTheme.text }}>
|
||||
{Array.isArray(value) ? value.join(" - ") : value}
|
||||
{unitOfMeasurement}
|
||||
|
|
|
@ -2,6 +2,7 @@ import { FlatList, Text, View } from "react-native";
|
|||
import {
|
||||
AppContext,
|
||||
AppStyles,
|
||||
Constants,
|
||||
IsPlatformIos,
|
||||
ModalContainer,
|
||||
} from "../../../../utils";
|
||||
|
@ -53,7 +54,12 @@ export function EditActionAnimationsCardContent({
|
|||
|
||||
<MyDropdown
|
||||
disabled={disabled}
|
||||
style={{ marginTop: 2 }}
|
||||
style={[
|
||||
{ marginTop: 2 },
|
||||
selectedLightAnimationOut !== Constants.defaultAnimationId && {
|
||||
marginBottom: 6,
|
||||
},
|
||||
]}
|
||||
label={t(
|
||||
"screens.device.scenes.editActions.editActionAnimationsCardContent.dropdownAnimationIn.label"
|
||||
)}
|
||||
|
@ -92,7 +98,12 @@ export function EditActionAnimationsCardContent({
|
|||
|
||||
<MyDropdown
|
||||
disabled={disabled}
|
||||
style={{ marginTop: 2 }}
|
||||
style={[
|
||||
{ marginTop: 2 },
|
||||
selectedLightAnimationOut !== Constants.defaultAnimationId && {
|
||||
marginBottom: 6,
|
||||
},
|
||||
]}
|
||||
label={t(
|
||||
"screens.device.scenes.editActions.editActionAnimationsCardContent.dropdownAnimationOut.label"
|
||||
)}
|
||||
|
@ -270,7 +281,7 @@ function EditActionSliderAdjustment({ action, adjustmentType, adjustment }) {
|
|||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
<View>
|
||||
<Text
|
||||
style={[AppStyles.typography14, { color: appContext.appTheme.text }]}
|
||||
>
|
||||
|
@ -310,7 +321,7 @@ function EditActionSliderAdjustment({ action, adjustmentType, adjustment }) {
|
|||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue