Skip to content

Commit f5d5f69

Browse files
committed
minor padding changes
1 parent aabf9bd commit f5d5f69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

invokeai/frontend/web/src/features/controlLayers/components/RasterLayer/RasterLayerAdjustmentsPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const RasterLayerAdjustmentsPanel = memo(() => {
125125

126126
return (
127127
<>
128-
<Flex alignItems="center" gap={3} mt={2} mb={2}>
128+
<Flex px={4} alignItems="center" gap={3} mt={2} mb={2}>
129129
<IconButton
130130
aria-label={collapsed ? t('controlLayers.adjustments.expand') : t('controlLayers.adjustments.collapse')}
131131
size="sm"

invokeai/frontend/web/src/features/controlLayers/components/RasterLayer/RasterLayerSimpleAdjustmentsEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type AdjustmentSliderRowProps = {
1616
};
1717

1818
const AdjustmentSliderRow = ({ label, value, onChange, min = -1, max = 1, step = 0.01 }: AdjustmentSliderRowProps) => (
19-
<FormControl orientation="horizontal" mb={1} pr={2} w="full">
19+
<FormControl orientation="horizontal" mb={1} w="full">
2020
<FormLabel m={0} minW="90px">
2121
{label}
2222
</FormLabel>
@@ -66,7 +66,7 @@ export const RasterLayerSimpleAdjustmentsEditor = memo(() => {
6666
);
6767

6868
return (
69-
<Flex px={4} direction="column">
69+
<Flex px={8} direction="column">
7070
<AdjustmentSliderRow
7171
label={t('controlLayers.adjustments.brightness')}
7272
value={simple.brightness}

0 commit comments

Comments
 (0)