diff --git a/packages/desktop-client/src/components/settings/ColorPalette.tsx b/packages/desktop-client/src/components/settings/ColorPalette.tsx index 68bc4d0b49..39dff1b4c1 100644 --- a/packages/desktop-client/src/components/settings/ColorPalette.tsx +++ b/packages/desktop-client/src/components/settings/ColorPalette.tsx @@ -17,7 +17,8 @@ export function ColorPalette({ colors }: ColorPaletteProps) { gridTemplateColumns: 'repeat(3, 1fr)', gridTemplateRows: 'repeat(2, 1fr)', width: '100%', - height: 60, + flex: 1, + minHeight: 0, borderRadius: 4, overflow: 'hidden', }} diff --git a/packages/desktop-client/src/components/settings/ThemeInstaller.tsx b/packages/desktop-client/src/components/settings/ThemeInstaller.tsx index 464df23d3e..35f53f8ef5 100644 --- a/packages/desktop-client/src/components/settings/ThemeInstaller.tsx +++ b/packages/desktop-client/src/components/settings/ThemeInstaller.tsx @@ -8,6 +8,7 @@ import { AnimatedLoading } from '@actual-app/components/icons/AnimatedLoading'; import { baseInputStyle } from '@actual-app/components/input'; import { SpaceBetween } from '@actual-app/components/space-between'; import { Text } from '@actual-app/components/text'; +import { TextOneLine } from '@actual-app/components/text-one-line'; import { theme as themeStyle } from '@actual-app/components/theme'; import { View } from '@actual-app/components/view'; @@ -310,7 +311,7 @@ export function ThemeInstaller({ ...style, display: 'flex', gap: THEME_ITEM_GAP, - padding: `0 ${THEME_ITEM_PADDING}px`, + padding: `0 ${THEME_ITEM_PADDING}px ${THEME_ITEM_GAP}px`, }} > {rowThemes.map((theme, themeIndex) => { @@ -334,6 +335,7 @@ export function ThemeInstaller({ width: itemWidth, height: itemWidth, padding: 8, + overflow: 'hidden', borderRadius: 6, border: `2px solid ${ hasError @@ -383,23 +385,26 @@ export function ThemeInstaller({ /> - {theme.name} - + - {extractRepoOwner(theme.repo)} - +