diff --git a/apps/desktop/src/components/projectSettings/AppearanceSettings.svelte b/apps/desktop/src/components/projectSettings/AppearanceSettings.svelte index 30a3bf4648..0e94ebbd09 100644 --- a/apps/desktop/src/components/projectSettings/AppearanceSettings.svelte +++ b/apps/desktop/src/components/projectSettings/AppearanceSettings.svelte @@ -21,7 +21,7 @@ on:branchSelected={async (e) => { - selectedBranch = e.detail; - if ($platformName === 'win32') { -+ if ($platformName === 'win64') { ++ if ($platformName === 'win64' && $userSettings.enableAdvancedFeatures && project.hasRemoteOrigin) { setTarget(); } }}`; @@ -138,10 +138,10 @@ {#snippet title()} - Text wrap + Soft wrap {/snippet} {#snippet caption()} - Wrap text in the diff view once it hits the end of the viewport. + Soft wrap long lines in the diff view to fit within the viewport. {/snippet} {#snippet actions()} diff --git a/packages/ui/src/lib/components/InfoButton.svelte b/packages/ui/src/lib/components/InfoButton.svelte index 917fb49faf..605dc6aabf 100644 --- a/packages/ui/src/lib/components/InfoButton.svelte +++ b/packages/ui/src/lib/components/InfoButton.svelte @@ -10,6 +10,7 @@ title?: string; size?: 'small' | 'medium'; maxWidth?: string; + iconTopOffset?: string; icon?: keyof typeof iconsJson; inheritColor?: boolean; children: Snippet; @@ -19,6 +20,7 @@ title, size = 'medium', maxWidth = '16rem', + iconTopOffset = '10%', icon, children, inheritColor @@ -67,6 +69,8 @@ role="tooltip" onmouseenter={handleMouseEnter} onmouseleave={handleMouseLeave} + style:--icon-top-offset={iconTopOffset} + style:--size={size === 'small' ? '12px' : '14px'} > {#if icon}
@@ -104,12 +108,9 @@