Added new “error” state image, a few minor CSS fixes

This commit is contained in:
Pavel Laptev 2024-01-16 23:57:51 +01:00 committed by GitButler
parent 2c102dd957
commit ad2ce2f83f
7 changed files with 11 additions and 4 deletions

View File

@ -65,7 +65,7 @@
// if (baseBranch) branchController.setTarget(baseBranch.branchName); // if (baseBranch) branchController.setTarget(baseBranch.branchName);
}} }}
> >
Switch to another project... Switch to another project
</Button> </Button>
{/if} {/if}
</div> </div>

View File

@ -15,7 +15,13 @@
$: user$ = userService.user$; $: user$ = userService.user$;
</script> </script>
<DecorativeSplitView user={$user$}> <DecorativeSplitView
user={$user$}
imgSet={{
light: '/images/img_repo-load-error-light.webp',
dark: '/images/img_repo-load-error-dark.webp'
}}
>
<div class="problem" data-tauri-drag-region> <div class="problem" data-tauri-drag-region>
<p class="problem__project text-bold"><Icon name="repo-book" /> {project?.title}</p> <p class="problem__project text-bold"><Icon name="repo-book" /> {project?.title}</p>
<p class="problem__title text-base-body-18 text-bold" data-tauri-drag-region> <p class="problem__title text-base-body-18 text-bold" data-tauri-drag-region>

View File

@ -36,7 +36,7 @@
<div class="select-wrapper" class:wide> <div class="select-wrapper" class:wide>
{#if label} {#if label}
<label for={id} class="select__label text-base-body-13 text-semibold">{label}</label> <label class="select__label text-base-body-13 text-semibold">{label}</label>
{/if} {/if}
<TextBox <TextBox
{id} {id}
@ -95,6 +95,7 @@
} }
.select__label { .select__label {
text-align: left;
color: var(--clr-theme-scale-ntrl-50); color: var(--clr-theme-scale-ntrl-50);
} }
@ -107,7 +108,7 @@
margin-top: var(--space-4); margin-top: var(--space-4);
border-radius: var(--radius-m); border-radius: var(--radius-m);
border: 1px solid var(--clr-theme-container-outline-light); border: 1px solid var(--clr-theme-container-outline-light);
background: var(--container-light, #fff); background: var(--clr-theme-container-light);
box-shadow: var(--fx-shadow-s); box-shadow: var(--fx-shadow-s);
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB